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

Public Attributes

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

Detailed Description

Size settings for Composition Target Render Pass.

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

Constructor & Destructor Documentation

◆ CompositionSizeSettings()

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

◆ viewportSize

Vector2 kanzi::CompositionTargetRenderPass::CompositionSizeSettings::viewportSize

Size of the viewport for the render pass.

◆ resolutionMultiplier

int kanzi::CompositionTargetRenderPass::CompositionSizeSettings::resolutionMultiplier

Resolution multiplier.

◆ resolutionDivisor

int kanzi::CompositionTargetRenderPass::CompositionSizeSettings::resolutionDivisor

Resolution divisor.

◆ widthPropertyValue

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

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

◆ heightPropertyValue

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: