Adds a new index buffer object as part of this vertex state. If an exception is thrown,
the state is reset to what it was before the method was called.
Namespace: HighGLAssembly: HighGL (in HighGL.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public void AddIndexBufferObject( byte[] data ) |
Visual Basic |
---|
Public Sub AddIndexBufferObject ( _ data As Byte() _ ) |
Visual C++ |
---|
public: void AddIndexBufferObject( array<unsigned char>^ data ) |
Parameters
- data
- Type: array<System..::..Byte>[]()[][]
The buffer data.
Exceptions
Exception | Condition |
---|---|
System..::..ObjectDisposedException | If this object was disposed. |
System..::..ArgumentNullException | If data is null. |
HighGL..::..GLErrorException | If a GL error occurs on VBO initialization. |