Urho.IndexBuffer Class

Hardware index buffer.

See Also: IndexBuffer


public class IndexBuffer : UrhoObject


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

The members of Urho.IndexBuffer are listed below.

See Also: UrhoObject

Public Constructors

Constructs a new instance of Urho.IndexBuffer, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.IndexBuffer 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

DynamicBoolean. Return whether is dynamic.
IndexCountUInt32. Return number of indices.
IndexSizeUInt32. Return index size.
LockedBoolean. Return whether is currently locked.
ShadowDataByte*. Return CPU memory shadow data.
ShadowedBoolean. Return whether CPU memory shadowing is enabled.
TypeStringHash. Urho's type system type.
TypeNameString. Urho's low-level type name.
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
TypeStaticStringHash. Urho's low-level type, accessible as a static method.

Public Methods

Lock(UInt32, UInt32, Boolean) : IntPtr
Lock the buffer for write-only editing. Return data pointer if successful. Optionally discard data outside the range.
Mark the buffer destroyed on graphics context destruction. May be a no-op depending on the API.
Release the buffer.
SetData(Void*) : Boolean
Set all data in the buffer.
SetDataRange(Void*, UInt32, UInt32, Boolean) : Boolean
Set a data range in the buffer. Optionally discard data outside the range.
SetSize(UInt32, Boolean, Boolean) : Boolean
Set buffer size and dynamic mode. Previous data will be lost.
Unlock the buffer and apply changes to the GPU buffer.