TextureResource
extends RenderResource
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- Resource constructor.
Properties
$handle read-only
public
int
$handle
$height read-only
public
int
$height
$name read-only
public
string
$name
$options
public
TextureOptions|null
$options
= null
$width read-only
public
int
$width
Methods
__construct()
Resource constructor.
public
__construct(int $handle, string $name, int $width, int $height[, TextureOptions|null $options = null ]) : mixed
Parameters
- $handle : int
-
the resource handle unique inside of the pipeline.
- $name : string
-
A globally unique name to identify the resource
- $width : int
- $height : int
- $options : TextureOptions|null = null