GeometryState defines the state used for rendering a quad. More...
#include <kanzi/core.ui/node/node_compositor2d.hpp>
Public Member Functions | |
void | setGeometry (Domain *domain, Renderer &renderer, const QuadDescription &quadDescription) |
Sets the quad geometry. More... | |
Public Attributes | |
GeometrySharedPtr | geometry |
Geometry instance. More... | |
QuadDescription | quad |
Quad description used for defining the geometry. More... | |
bool | usesUnitQuad |
Whether geometry is a unit quad. More... | |
GeometryState defines the state used for rendering a quad.
void kanzi::NodeCompositor2D::GeometryState::setGeometry | ( | Domain * | domain, |
Renderer & | renderer, | ||
const QuadDescription & | quadDescription | ||
) |
QuadDescription kanzi::NodeCompositor2D::GeometryState::quad |
Quad description used for defining the geometry.
GeometrySharedPtr kanzi::NodeCompositor2D::GeometryState::geometry |
Geometry instance.
bool kanzi::NodeCompositor2D::GeometryState::usesUnitQuad |
Whether geometry is a unit quad.