D3DIndexBuffer8SetData
Sets data in an index buffer.
D3DIndexBuffer8SetData( _
IBuffer As Direct3DIndexBuffer8, _
Offset As Long, _
Size As Long, _
Flags As Long, _
Data As Any) As Long
Parameters
- IBuffer
- Direct3DIndexBuffer8 object, representing the index buffer into which to set data.
- Offset
- Offset, in bytes, from the start of the buffer to where data is set.
- Size
- Size of the buffer, in bytes.
- Flags
- A combination of one or more valid locking flags defined by the CONST_D3DLOCKFLAGS enumeration, describing the type of lock to perform.
- Data
- Buffer containing data to set.
Return Values
If the method fails, D3DERR_INVALIDCALL can be returned.
Error Codes
Err.Number is not set by this function.
See Also
D3DIndexBuffer8GetData