SetVertexBufferOffset

Sets the offset for a Vertex Buffer.

The offset will always be calculated in 64 bit, even if the vertex element size is 32 bit.

This function can be called just before updating the vertex buffer.

Syntax

//   Visual Studio for Windows
public:
void __declspec(dllexport) __stdcall SetVertexBufferOffset(
            __int64        model,
            double         x,
            double         y,
            double         z
        );

//   Linux, OS-X and non-Visual Studio Windows solutions
public:
void SetVertexBufferOffset(
            int64_t        model,
            double         x,
            double         y,
            double         z
        );    

Property model

Size: 64 bit / 8 byte (value)
...

Property x

Size: 64 bit / 8 byte (value)
x Coordinate

Property y

Size: 64 bit / 8 byte (value)
y Coordinate

Property z

Size: 64 bit / 8 byte (value)
z Coordinate