The Background class represents the configuration for a background element used in a rendering Pass. More...
#include <background.h>
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. | |
The Background class represents the configuration for a background element used in a rendering Pass.
| cil::Background::Background | ( | const Vector2iPtr & | size, |
| const Color4fPtr & | colorMask = nullptr, | ||
| const RealPtr & | depthMask = nullptr, | ||
| const IntegerPtr & | stencilMask = nullptr, | ||
| const Vector2iPtr & | coordinate = nullptr ) |
| 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.
| 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.
| 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.
| 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.
| 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.