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

The Primitive class represents a basic building block for rendering 3D objects. More...

#include <primitive.h>

Inheritance diagram for cil::Primitive:
cil::Object

Public Member Functions

 Primitive ()
 
- Public Member Functions inherited from cil::Object
 Object ()
 
virtual ~Object ()
 

Public Attributes

GeometryPtr geometry
 This is a shared pointer to a Geometry object. It references the actual geometric data(vertex and index buffers) defining the shape of the primitive.
 
MaterialPtr material
 This is a shared pointer to a Material object. It references the material properties that define the appearance of the primivite when rendered.
 
int priority
 This is an integer value representing the priority of the primitive during rendering.
 

Detailed Description

The Primitive class represents a basic building block for rendering 3D objects.

Constructor & Destructor Documentation

◆ Primitive()

cil::Primitive::Primitive ( )

Member Data Documentation

◆ geometry

GeometryPtr cil::Primitive::geometry

This is a shared pointer to a Geometry object. It references the actual geometric data(vertex and index buffers) defining the shape of the primitive.

◆ material

MaterialPtr cil::Primitive::material

This is a shared pointer to a Material object. It references the material properties that define the appearance of the primivite when rendered.

◆ priority

int cil::Primitive::priority

This is an integer value representing the priority of the primitive during rendering.