20#include "../variant/vector.h"
21#include "../variant/color.h"
22#include "../variant/integer.h"
23#include "../variant/real.h"
24#include "../object/object.h"
37 std::shared_ptr<Vector2i>
size;
44 const std::shared_ptr<Color4f>&
colorMask =
nullptr,
45 const std::shared_ptr<Real>&
depthMask =
nullptr,
46 const std::shared_ptr<Integer>&
stencilMask =
nullptr,
47 const std::shared_ptr<Vector2i>&
coordinate =
nullptr);
The Background class represents the configuration for a background element used in a rendering Pass.
Definition background.h:32
Background(const std::shared_ptr< Vector2i > &size, const std::shared_ptr< Color4f > &colorMask=nullptr, const std::shared_ptr< Real > &depthMask=nullptr, const std::shared_ptr< Integer > &stencilMask=nullptr, const std::shared_ptr< Vector2i > &coordinate=nullptr)
std::shared_ptr< Vector2i > size
This memeber is a shared pointer to a 2D integer vector specifying the size(width and height) of the ...
Definition background.h:37
std::shared_ptr< Color4f > colorMask
This memeber is a shared pointer to the color value with four floats(RGBA) defining the base color of...
Definition background.h:38
std::shared_ptr< Real > depthMask
This memeber is a shared pointer to a Real value used for controlling the depth contributes of the ba...
Definition background.h:39
std::shared_ptr< Integer > stencilMask
This memeber is a shared pointer to a Integer value used for stencil buffer operation in the renderin...
Definition background.h:40
std::shared_ptr< Vector2i > coordinate
This memeber is a shared pointer to a 2D integer vector specifying the screen-space coordinates where...
Definition background.h:41