Urho.TextureCube Class

Cube texture resource.

See Also: TextureCube

Syntax

public class TextureCube : Texture

Requirements

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

The members of Urho.TextureCube are listed below.

See Also: Texture

Public Constructors

Constructs a new instance of Urho.TextureCube which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.TextureCube, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.TextureCube 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(CubeMapFace, UInt32, IntPtr) : Boolean
Get data from a face's mip level. The destination buffer must be big enough. Return true if successful.
GetImage(CubeMapFace) : Image
GetRenderSurface(CubeMapFace) : RenderSurface
Return render surface for one face.
static
RegisterObject(Context)
Register object factory.
Release()
Release the texture.
SetData(CubeMapFace, File) : Boolean
SetData(CubeMapFace, MemoryBuffer) : Boolean
SetData(CubeMapFace, Image, Boolean) : Boolean
SetData(CubeMapFace, UInt32, Int32, Int32, Int32, Int32, Void*) : Boolean
Set data either partially or fully on a face's mip level. Return true if successful.
SetSize(Int32, UInt32, TextureUsage, Int32) : Boolean