Urho.Texture2DArray Class

See Also: Texture2DArray

Syntax

public class Texture2DArray : Texture

Requirements

Namespace: Urho
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0

The members of Urho.Texture2DArray are listed below.

See Also: Texture

Public Constructors

Constructs a new instance of Urho.Texture2DArray which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Texture2DArray linked to a specific Context.

Protected Constructors

Public Properties

LayersUInt32. Return number of layers in the texture. Or Set the number of layers in the texture. To be used before SetData.
[read-only]
RenderSurfaceRenderSurface. Return render surface.
[read-only]
override
TypeStringHash. Urho's type system type.
[read-only]
override
TypeNameString. Urho's low-level type name.
[read-only]
static
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
[read-only]
static
TypeStaticStringHash. Urho's low-level type, accessible as a static method.

Public Methods

override
BeginLoad(File) : Boolean
override
BeginLoad(MemoryBuffer) : Boolean
override
EndLoad() : Boolean
Finish resource loading. Always called from the main thread. Return true if successful.
GetData(UInt32, UInt32, IntPtr) : Boolean
OnDeviceLost()
Mark the GPU resource destroyed on context destruction.
OnDeviceReset()
Recreate the GPU resource and restore data if applicable.
static
RegisterObject(Context)
Release()
Release the texture.
SetData(UInt32, File) : Boolean
SetData(UInt32, MemoryBuffer) : Boolean
SetData(UInt32, Image, Boolean) : Boolean
SetData(UInt32, UInt32, Int32, Int32, Int32, Int32, Void*) : Boolean
SetSize(UInt32, Int32, Int32, UInt32, TextureUsage) : Boolean