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::Culling Class Reference

The Culling class inherits from the base class State, describing the culling operation during rendering a 3D object. More...

#include <state.h>

Inheritance diagram for cil::Culling:
cil::State cil::Object

Public Types

enum class  Mode { BACK , FRONT , FRONT_AND_BACK }
 The enumeration defines the type of the face we want to cull. More...
 
enum class  Face { CCW , CW }
 The enumeration defines the ordering (counter-clockwise and clockwise) of the front-faces or the back-faces. More...
 

Public Member Functions

 Culling (bool enabled=false, Culling::Face face=Culling::Face::CCW, Culling::Mode mode=Culling::Mode::BACK)
 
- Public Member Functions inherited from cil::State
 State ()
 
const std::string & className () const
 
- Public Member Functions inherited from cil::Object
 Object ()
 
virtual ~Object ()
 

Public Attributes

bool enabled
 
Face face
 
Mode mode
 

Additional Inherited Members

- Protected Attributes inherited from cil::State
std::string m_className
 

Detailed Description

The Culling class inherits from the base class State, describing the culling operation during rendering a 3D object.

Member Enumeration Documentation

◆ Face

enum class cil::Culling::Face
strong

The enumeration defines the ordering (counter-clockwise and clockwise) of the front-faces or the back-faces.

Enumerator
CCW 
CW 

◆ Mode

enum class cil::Culling::Mode
strong

The enumeration defines the type of the face we want to cull.

Enumerator
BACK 
FRONT 
FRONT_AND_BACK 

Constructor & Destructor Documentation

◆ Culling()

cil::Culling::Culling ( bool enabled = false,
Culling::Face face = Culling::Face::CCW,
Culling::Mode mode = Culling::Mode::BACK )

Member Data Documentation

◆ enabled

bool cil::Culling::enabled

◆ face

Face cil::Culling::face

◆ mode

Mode cil::Culling::mode