Holds the requirements for the composition target. More...
#include <kanzi/core.ui/graphics2d/composition_requirements.hpp>
Public Attributes | |
| bool | alpha |
| Whether the content requires alpha channel. | |
| bool | depth |
| Whether the content requires depth buffer. | |
| Sampler::MipmapMode | mipmapMode |
| Mipmap mode for the output texture. | |
| size_t | numSamples |
| Number of MSAA samples for the content buffer. | |
| Vector2 | size |
| Required size of the source content to be used by the composition or effect. | |
| bool | stencil |
| Whether the content requires stencil buffer. | |
Holds the requirements for the composition target.
| Vector2 kanzi::CompositionContentRequirements::size |
Required size of the source content to be used by the composition or effect.
| bool kanzi::CompositionContentRequirements::alpha |
Whether the content requires alpha channel.
| bool kanzi::CompositionContentRequirements::depth |
Whether the content requires depth buffer.
| bool kanzi::CompositionContentRequirements::stencil |
Whether the content requires stencil buffer.
| Sampler::MipmapMode kanzi::CompositionContentRequirements::mipmapMode |
Mipmap mode for the output texture.
| size_t kanzi::CompositionContentRequirements::numSamples |
Number of MSAA samples for the content buffer.