CreateInstanceInContextStructure

InstanceInContext structures give you more detailed information about individual parts of the geometry of a certain instance viualized.
It is allowed to have more then 1 InstanceInContext structures per instance.
InstanceInContext structures are updated dynamically when the geometry structure is updated.

Syntax

//
//   Strong typing definition
//
int64_t         CreateInstanceInContextStructure(
                        OwlInstance             owlInstance
                    );


//
//   Weak typing definition
//
int64_t __declspec(dllexport) __stdcall CreateInstanceInContextStructure(
                                                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.