GetConceptualFaceDiscriminator
The name will be the same for each recalculation of the geometry.
The return value (and optional argument name) have a valid content till the next call of this
function or till the model is closed.
Note: This allows to keep track of conceptual faces if te number of conceptual faces changes.
For example in case of a boolean operation where the type of placement of objects is changing.
Syntax
// // Strong typing definition // const char * GetConceptualFaceDiscriminator( OwlInstance owlInstance, int64_t index, const char ** name ); static inline const char * GetConceptualFaceDiscriminator( OwlInstance owlInstance, int64_t index, char ** name ) { return GetConceptualFaceDiscriminator( owlInstance, index, (const char**) name ); } static inline const char * GetConceptualFaceDiscriminator( OwlInstance owlInstance, int64_t index ) { return GetConceptualFaceDiscriminator( owlInstance, index, (const char**) nullptr // name ); } // // Weak typing definition // const char __declspec(dllexport) * __stdcall GetConceptualFaceDiscriminator( int64_t owlInstance, int64_t index, const char ** name ); static inline const char * GetConceptualFaceDiscriminator( int64_t owlInstance, int64_t index, char ** name ) { return GetConceptualFaceDiscriminator( owlInstance, index, (const char**) name ); } static inline const char * GetConceptualFaceDiscriminator( int64_t owlInstance, int64_t index ) { return GetConceptualFaceDiscriminator( owlInstance, index, (const char**) nullptr // name ); }
Property owlInstance
Size: 64 bit / 8 byte (value)Property index
Size: 64 bit / 8 byte (value)Property name
Size: 64 bit / 8 byte (reference)???.