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

Public Attributes

GeometrySharedPtr geometry
 Geometry instance.
 
QuadDescription quad
 Quad description used for defining the geometry.
 
bool usesUnitQuad
 Whether geometry is a unit quad.
 

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: