Cumulia Illustrator Rendering Engine v1.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
cil::ElementIndices Class Reference

The ElementIndices class represents a indices buffer, which is a block of memory that stores the index data of a Geometry. More...

#include <indices.h>

Inheritance diagram for cil::ElementIndices:
cil::Indices cil::Object

Public Member Functions

 ElementIndices (Indices::Mode mode, const std::shared_ptr< ArrayBuffer > &buffer, int count, int offset=0, int primCount=0)
 
- Public Member Functions inherited from cil::Indices
 Indices (Indices::Mode mode, int count, int primCount)
 
const std::string & className () const
 
- Public Member Functions inherited from cil::Object
 Object ()
 
virtual ~Object ()
 

Public Attributes

std::shared_ptr< ArrayBufferbuffer
 
int offset
 
- Public Attributes inherited from cil::Indices
Mode mode
 This member stores the primitive mode of this Indices object.
 
int count
 This member stores the count of the primitive in this Indices object.
 
int primCount
 

Additional Inherited Members

- Public Types inherited from cil::Indices
enum class  Mode {
  TRIANGLES , TRIANGLE_FAN , TRIANGLE_STRIP , LINES ,
  LINE_LOOP , LINE_STRIP , POINTS
}
 The Mode enumeration defines identifiers corresponding to different ways of rendering geometric primitives in a 3D graphics application. More...
 
- Protected Attributes inherited from cil::Indices
std::string m_className
 

Detailed Description

The ElementIndices class represents a indices buffer, which is a block of memory that stores the index data of a Geometry.

Constructor & Destructor Documentation

◆ ElementIndices()

cil::ElementIndices::ElementIndices ( Indices::Mode mode,
const std::shared_ptr< ArrayBuffer > & buffer,
int count,
int offset = 0,
int primCount = 0 )

Member Data Documentation

◆ buffer

std::shared_ptr<ArrayBuffer> cil::ElementIndices::buffer

◆ offset

int cil::ElementIndices::offset