Cumulia Illustrator Rendering Engine v1.0.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

std::shared_ptr< Geometrygeometry
 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.
 
std::shared_ptr< Materialmaterial
 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

std::shared_ptr<Geometry> 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

std::shared_ptr<Material> 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.