Urho.Texture3D Class

3D texture resource.

See Also: Texture3D

Syntax

public class Texture3D : Texture

Requirements

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

The members of Urho.Texture3D are listed below.

See Also: Texture

Public Constructors

Constructs a new instance of Urho.Texture3D which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Texture3D, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Texture3D linked to a specific Context.

Protected Constructors

Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.

Public Properties

[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, IntPtr) : Boolean
Get data from a mip level. The destination buffer must be big enough. Return true if successful.
static
RegisterObject(Context)
Register object factory.
Release()
Release the texture.
SetData(Image, Boolean) : Boolean
SetData(UInt32, Int32, Int32, Int32, Int32, Int32, Int32, Void*) : Boolean
Set data either partially or fully on a mip level. Return true if successful.
SetSize(Int32, Int32, Int32, UInt32, TextureUsage) : Boolean
Set size, format and usage. Zero size will follow application window size. Return true if successful.