UpdateInstanceTransformationBuffer
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
public const string enginedll = @"engine.dll"; [DllImport(enginedll, EntryPoint = "UpdateInstanceTransformationBuffer")] public static extern Int64 UpdateInstanceTransformationBuffer(Int64 owlInstance, out double transformationBuffer); [DllImport(enginedll, EntryPoint = "UpdateInstanceTransformationBuffer")] public static extern Int64 UpdateInstanceTransformationBuffer(Int64 owlInstance, double[] transformationBuffer);