Class Texture
TODO
Inherits from
-
(base class)Asset
Constructors
Name | Description |
---|---|
this
|
TODO |
this
|
TODO |
Fields
Name | Type | Description |
---|---|---|
owner
|
GameObject |
The GameObject that owns this component. |
yaml
|
dyaml. |
The node that defined the component. |
_glID
|
uint |
|
_height
|
uint |
|
_width
|
uint |
Properties
Name | Type | Description |
---|---|---|
glID
[get]
|
uint |
|
height
[get]
|
uint |
|
width
[get]
|
uint |
|
isUsed
[get]
|
bool |
|
resource
[get]
|
Resource |
|
glID
[set]
|
uint |
|
height
[set]
|
uint |
|
width
[set]
|
uint |
Methods
Name | Description |
---|---|
refresh
|
Refresh the asset. |
shutdown
|
TODO |
draw
|
Called on the draw cycle.
|
initialize
|
The function called on initialization of the object. |
update
|
Called on the update cycle.
|
updateBuffer
|
TODO |