UpdateInstanceTransformationBuffer

This function should be preceded by the function CalculateInstances(), the only allowed other API functions in between are UpdateVertexBuffer() and UpdateIndexBuffer().

It is expected to be called with a buffer vertexBuffer of at least the size as given by CalculateInstances().

If not called for the first time it will expect to contain the same content as from previous call, even is size is changed. This can be overruled by the function ClearedExternalBuffers().

Syntax

//   Visual Studio for Windows
public:
__int64 __declspec(dllexport) __stdcall UpdateInstanceTransformationBuffer(
            __int64        owlInstance,
            void           * transformationBuffer
        );

//   Linux, OS-X and non-Visual Studio Windows solutions
public:
int64_t UpdateInstanceTransformationBuffer(
            int64_t        owlInstance,
            void           * transformationBuffer
        );    

Property owlInstance

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

Property transformationBuffer

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