ClearedInstanceExternalBuffers

This function tells the engine that all buffers have no memory of earlier filling for a certain instance.
This means that even when buffer content didn't changed it will be updated when functions UpdateVertexBuffer(), UpdateIndexBuffer() and/or transformationBuffer() are called for this specific instance.

Syntax

//
//   Strong typing definition
//
void            ClearedInstanceExternalBuffers(
                        OwlInstance             owlInstance
                    );


//
//   Weak typing definition
//
void    __declspec(dllexport) __stdcall ClearedInstanceExternalBuffers(
                                                int64_t                 owlInstance
                                            );
    

Property owlInstance

Size: 64 bit / 8 byte (value)
The handle to the specific instance in the design tree. The instance handle is static within one open model but is most probably different when the same instance is opened in another model. The instance is always exactly of one unique class.