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. | |
Public Attributes | |
GeometrySharedPtr | geometry |
Geometry instance. | |
QuadDescription | quad |
Quad description used for defining the geometry. | |
bool | usesUnitQuad |
Whether geometry is a unit quad. | |
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.