struct UITexture
A 32 bit handle.
UITexture_Add( UIObject object ) : UITexture
Attaches a uitexture to the object.
UITexture_Destroy( UITexture mesh_renderer ) : void
Destroys the uitexture.
UITexture_Get( UIObject object ) : UITexture
Returns the first uitexture attached to the object.
UITexture_UIObject( UITexture mesh_renderer ) : UIObject
Return the game object this uitexture is attached to.
UITexture_LayerMask( UITexture mesh_renderer ) : uint32_t
Returns the layer mask of this uitexture.
UITexture_SharedMaterial( UITexture mesh_renderer ) : Material
Returns the shared material attached to this uitexture.
UITexture_SetLayerMask( UITexture mesh_renderer, uint32_t mask ) : void
Sets the layer mask.
UITexture_SetMaterial( UITexture mesh_renderer, Material material ) : void
Sets a new material. This will destroy any previous material instance.
UITexture_MaterialInstance( UITexture mesh_renderer) : Material
Returns the material instance. Creates one if none exists.