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( ushort[] data ) |
| Visual Basic |
|---|
Public Sub AddIndexBufferObject ( _ data As UShort() _ ) |
| Visual C++ |
|---|
public: void AddIndexBufferObject( array<unsigned short>^ data ) |
Parameters
- data
- Type: array<System..::..UInt16>[]()[][]
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. |