NDEVR
API Documentation
Geometry::OptimizedPrimitiveDef

Pre-computed offsets and references for fast primitive index access without repeated lookups. More...

Public Member Functions

 OptimizedPrimitiveDef (ColumnT< uint04 > &column, ColumnT< uint04 > &fan_column)
 Constructs with references to the index and fan columns.

Public Attributes

ColumnT< uint04 > * column = nullptr
 Pointer to the primitive index column.
ColumnT< uint04 > * fan_column = nullptr
 Pointer to the primitive fan column.
uint04 fan_offset
 The computed offset into the fan column.
uint04 index_offset
 The computed offset into the index column.
PrimitiveMode mode
 The primitive mode for this definition.

Detailed Description

Pre-computed offsets and references for fast primitive index access without repeated lookups.


Definition at line 761 of file Geometry.h.

Constructor & Destructor Documentation

◆ OptimizedPrimitiveDef()

Geometry::OptimizedPrimitiveDef::OptimizedPrimitiveDef ( ColumnT< uint04 > & column,
ColumnT< uint04 > & fan_column )
inline

Constructs with references to the index and fan columns.

Parameters
[in]columnThe primitive index column.
[in]fan_columnThe primitive fan column.

Definition at line 768 of file Geometry.h.

References column, and fan_column.


The documentation for this struct was generated from the following file: