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< int > | heightPropertyValue |
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< int > | widthPropertyValue |
Explicit width forced by the width property (if set). | |
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).