This call is deprecated as it became trivial and will be removed by end of 2020. The result from CalculateInstance exclusively exists of the relevant points when
SetFormat() is setting bit 10 and unsetting with bit 8, 9, 12 and 13
Syntax
// Visual Studio for Windows
public:
void __declspec(dllexport) __stdcall GetPoints(
__int64 owlInstance,
__int64 * startIndex,
__int64 * noPoints,
__int64 * startVertex,
__int64 * firstNotUsedVertex
);
// Linux, OS-X and non-Visual Studio Windows solutions
public:
void GetPoints(
int64_t owlInstance,
int64_t * startIndex,
int64_t * noPoints,
int64_t * startVertex,
int64_t * firstNotUsedVertex
);
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.
Property startIndex
Size: 64 bit / 8 byte (reference)
This attribute will be filled with the start index in the index array for this API call / context.
Property noPoints
Size: 64 bit / 8 byte (reference)
This attribute is filled with the number of points within the given instance.
Property startVertex
Size: 64 bit / 8 byte (reference)
The first vertex element used in this context. In some DirectX, OpenGL and VULKAN calls reducing the part of the vertex array where indices points towards is giving performance gains. Use of this property can be relevant during tweaking performance of your solution.
Property firstNotUsedVertex
Size: 64 bit / 8 byte (reference)
The first vertex element not used (i.e. first element after last element used) in this context. In some DirectX, OpenGL and VULKAN calls reducing the part of the vertex array where indices points towards is giving performance gains. Use of this property can be relevant during tweaking performance of your solution.