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... | |
Size settings for Composition Target Render Pass.
Kanzi uses these settings as parameters for composition target size decisions.
|
inlineexplicit |
Constructor.
viewportSizeParam | Viewport size. |
multiplier | Resolution multiplier. |
divisor | Resolution divisor. |
width | Width property value. |
height | Height property value. |
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).