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

The Background class represents the configuration for a background element used in a rendering Pass. More...

#include <background.h>

Inheritance diagram for cil::Background:
cil::Object

Public Member Functions

 Background (const Vector2iPtr &size, const Color4fPtr &colorMask=nullptr, const RealPtr &depthMask=nullptr, const IntegerPtr &stencilMask=nullptr, const Vector2iPtr &coordinate=nullptr)
 
- Public Member Functions inherited from cil::Object
 Object ()
 
virtual ~Object ()
 

Public Attributes

Vector2iPtr size
 This memeber is a shared pointer to a 2D integer vector specifying the size(width and height) of the background element.
 
Color4fPtr colorMask
 This memeber is a shared pointer to the color value with four floats(RGBA) defining the base color of the background.
 
RealPtr depthMask
 This memeber is a shared pointer to a Real value used for controlling the depth contributes of the background during rendering.
 
IntegerPtr stencilMask
 This memeber is a shared pointer to a Integer value used for stencil buffer operation in the rendering pipeline, allowing for effects like masking.
 
Vector2iPtr coordinate
 This memeber is a shared pointer to a 2D integer vector specifying the screen-space coordinates where the background element should be positioned.
 

Detailed Description

The Background class represents the configuration for a background element used in a rendering Pass.

Constructor & Destructor Documentation

◆ Background()

cil::Background::Background ( const Vector2iPtr & size,
const Color4fPtr & colorMask = nullptr,
const RealPtr & depthMask = nullptr,
const IntegerPtr & stencilMask = nullptr,
const Vector2iPtr & coordinate = nullptr )

Member Data Documentation

◆ colorMask

Color4fPtr cil::Background::colorMask

This memeber is a shared pointer to the color value with four floats(RGBA) defining the base color of the background.

◆ coordinate

Vector2iPtr cil::Background::coordinate

This memeber is a shared pointer to a 2D integer vector specifying the screen-space coordinates where the background element should be positioned.

◆ depthMask

RealPtr cil::Background::depthMask

This memeber is a shared pointer to a Real value used for controlling the depth contributes of the background during rendering.

◆ size

Vector2iPtr cil::Background::size

This memeber is a shared pointer to a 2D integer vector specifying the size(width and height) of the background element.

◆ stencilMask

IntegerPtr cil::Background::stencilMask

This memeber is a shared pointer to a Integer value used for stencil buffer operation in the rendering pipeline, allowing for effects like masking.