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


public const string enginedll = @"engine.dll";

[DllImport(enginedll, EntryPoint = "SetIndexBufferOffset")]
public static extern void SetIndexBufferOffset(Int64 model, Int64 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 buffer contains int32_t / Int32 elements than an offset of 10 will interpret any index buffer feeded to the API calls as it was 40 bytes (i.e. 10 * 4 bytes) further / higher.