Kanzi  3.9.7
Kanzi Engine API
kanzi::CompositionTargetRenderPass::CompositionSizeSettings Struct Reference

Size settings for Composition Target Render Pass. More...

#include <kanzi/core.ui/graphics3d/composition_target_render_pass.hpp>

Public Member Functions

 CompositionSizeSettings (Vector2 viewportSizeParam, int multiplier, int divisor, optional< int > width, optional< int > height)
 Constructor. More...
 

Public Attributes

optional< int > heightPropertyValue
 Explicit height forced by the height property (if set). More...
 
int resolutionDivisor
 Resolution divisor. More...
 
int resolutionMultiplier
 Resolution multiplier. More...
 
Vector2 viewportSize
 Size of the viewport for the render pass. More...
 
optional< int > widthPropertyValue
 Explicit width forced by the width property (if set). More...
 

Detailed Description

Size settings for Composition Target Render Pass.

Kanzi uses these settings as parameters for composition target size decisions.

Constructor & Destructor Documentation

kanzi::CompositionTargetRenderPass::CompositionSizeSettings::CompositionSizeSettings ( Vector2  viewportSizeParam,
int  multiplier,
int  divisor,
optional< int >  width,
optional< int >  height 
)
inlineexplicit

Constructor.

Parameters
viewportSizeParamViewport size.
multiplierResolution multiplier.
divisorResolution divisor.
widthWidth property value.
heightHeight property value.

Member Data Documentation

Vector2 kanzi::CompositionTargetRenderPass::CompositionSizeSettings::viewportSize

Size of the viewport for the render pass.

int kanzi::CompositionTargetRenderPass::CompositionSizeSettings::resolutionMultiplier

Resolution multiplier.

int kanzi::CompositionTargetRenderPass::CompositionSizeSettings::resolutionDivisor

Resolution divisor.

optional<int> kanzi::CompositionTargetRenderPass::CompositionSizeSettings::widthPropertyValue

Explicit width forced by the width property (if set).

optional<int> kanzi::CompositionTargetRenderPass::CompositionSizeSettings::heightPropertyValue

Explicit height forced by the height property (if set).


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