Kanzi  3.9.5
Kanzi Engine API
kanzi::NodeCompositor2D::GeometryState Struct Reference

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...
 

Detailed Description

GeometryState defines the state used for rendering a quad.

Since
Kanzi 3.9.5

Member Function Documentation

◆ setGeometry()

void kanzi::NodeCompositor2D::GeometryState::setGeometry ( Domain domain,
Renderer renderer,
const QuadDescription quadDescription 
)

Sets the quad geometry.

Parameters
domainDomain to use.
rendererRenderer to use.
quadDescriptionQuad description.

Member Data Documentation

◆ quad

QuadDescription kanzi::NodeCompositor2D::GeometryState::quad

Quad description used for defining the geometry.

◆ geometry

GeometrySharedPtr kanzi::NodeCompositor2D::GeometryState::geometry

Geometry instance.

◆ usesUnitQuad

bool kanzi::NodeCompositor2D::GeometryState::usesUnitQuad

Whether geometry is a unit quad.


The documentation for this struct was generated from the following file: