Creates a new instance of IndexBufferImplementation.
Declaration Syntax
C# |
protected IndexBufferImplementation( DataBuffer<int> indices, ResourceUsage usage )
Parameters
- indices (DataBuffer<(Of <(<'Int32>)>)>)
- The index data.
- usage (ResourceUsage)
- The resource usage specifying the type of memory the buffer should use.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if the index data is null. |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)