SetIndexBufferOffset

Sets the offset for an Index Buffer.
It is important call this function before updating the vertex buffer.

Syntax

//   Visual Studio for Windows
public:
void __declspec(dllexport) __stdcall SetIndexBufferOffset(
            __int64             model,
            __int64             offset
        );

//   Linux, OS-X and non-Visual Studio Windows solutions
public:
void SetIndexBufferOffset(
            int64_t             model,
            int64_t             offset
        );    

Property model

Size: 64 bit / 8 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.

Property offset

Size: 64 bit / 8 byte (value)
The given offset for all index buffer calls to interpret the given memory arrays. If an index array contains int32_t / Int32 elements than an offset of 10 will interpret any index array feeded to the API calls as it was 40 bytes (i.e. 10 * 4 bytes) further / higher.