GetLines

This call is deprecated as it became trivial and will be removed by end of 2022. The result from CalculateInstance exclusively exists of the relevant lines when SetFormat() is setting bit 9 and unsetting with bit 8, 10, 12 and 13

Syntax

//
//   Strong typing definition
//
void            GetLines(
                        OwlInstance             owlInstance,
                        int64_t                 * startIndex,
                        int64_t                 * noLines,
                        int64_t                 * startVertex,
                        int64_t                 * firstNotUsedVertex
                    );


//
//   Weak typing definition
//
void    __declspec(dllexport) __stdcall GetLines(
                                                int64_t                 owlInstance,
                                                int64_t                 * startIndex,
                                                int64_t                 * noLines,
                                                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: 32 bit / 4 byte (reference)
This attribute will be filled with the start index in the index buffer for this API call / context.

Property noLines

Size: 32 bit / 4 byte (reference)
This attribute is filled with the number of lines within the given instance.

Property startVertex

Size: 32 bit / 4 byte (reference)
The first vertex element used in this context. In some DirectX, OpenGL and VULKAN calls reducing the part of the vertex buffer where index points towards is giving performance gains. Use of this property can be relevant during tweaking performance of your solution.

Property firstNotUsedVertex

Size: 32 bit / 4 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 buffer where index points towards is giving performance gains. Use of this property can be relevant during tweaking performance of your solution.