A handle to a texture on the GPU.
Methods
createDefaultView():TextureView
Creates a default view of this whole texture.
Throws:
UseAfterDestroyException | If the instance was already destroyed.  | 
|---|
createView(textureViewDescriptor:TextureViewDescriptor):TextureView
Creates a view of this texture.
Throws:
UseAfterDestroyException | If the instance was already destroyed.  | 
|---|
destroy():Void
Destroy the texture.
Using the instance after this will throw a UseAfterDestroyException exception.
Throws:
UseAfterDestroyException | If the instance was already destroyed.  | 
|---|