Format settings for composition target render pass. More...
#include <kanzi/core.ui/graphics3d/composition_target_render_pass.hpp>
Public Member Functions | |
CompositionFormatSettings ()=default | |
Default constructor. More... | |
CompositionFormatSettings (unsigned int compositionWidth, unsigned int compositionHeight, GraphicsFormat cFormat, GraphicsFormat dFormat, GraphicsCompareFunction depthFunc, Sampler::AddressingMode addressing, Sampler::Filter filter, Sampler::MipmapMode mipmaps, unsigned int reqSamples) | |
Constructor. More... | |
bool | sizeMatches (const CompositionFormatSettings &otherFormat) const |
Checks whether a given size matches with another composition format. More... | |
void | updateSampleCount (unsigned int maxSamples) |
Updates the correct sample count based on maximum. More... | |
Public Attributes | |
Sampler::AddressingMode | addressingMode |
Addressing mode. More... | |
GraphicsFormat | colorFormat |
Requested color format. More... | |
GraphicsCompareFunction | depthCompareFunction |
Depth compare function. More... | |
GraphicsFormat | depthFormat |
Requested depth format. More... | |
Sampler::Filter | filterMode |
Sampling mode. More... | |
unsigned int | height |
Composition height. More... | |
Sampler::MipmapMode | mipmapMode |
Mipmap mode. More... | |
unsigned int | requestedSamples |
Requested multisampling level. More... | |
unsigned int | samples |
Actual samples to be requested. More... | |
unsigned int | width |
Composition width. More... | |
Format settings for composition target render pass.
Kanzi uses these as parameters when creating a composition target.
|
explicitdefault |
Default constructor.
|
inline |
Constructor.
compositionWidth | Desired composition width. |
compositionHeight | Desired composition height. |
cFormat | Color format. |
dFormat | Depth format. |
depthFunc | Depth function. |
addressing | Addressing mode. |
filter | Filter mode. |
mipmaps | Mipmap mode. |
reqSamples | Requested multisample samples. |
|
inline |
Checks whether a given size matches with another composition format.
otherFormat | Another composition format. |
|
inline |
Updates the correct sample count based on maximum.
maxSamples | Maximum level of multisampling supported. |
unsigned int kanzi::CompositionTargetRenderPass::CompositionFormatSettings::width |
Composition width.
unsigned int kanzi::CompositionTargetRenderPass::CompositionFormatSettings::height |
Composition height.
GraphicsFormat kanzi::CompositionTargetRenderPass::CompositionFormatSettings::colorFormat |
Requested color format.
GraphicsFormat kanzi::CompositionTargetRenderPass::CompositionFormatSettings::depthFormat |
Requested depth format.
GraphicsCompareFunction kanzi::CompositionTargetRenderPass::CompositionFormatSettings::depthCompareFunction |
Depth compare function.
Sampler::AddressingMode kanzi::CompositionTargetRenderPass::CompositionFormatSettings::addressingMode |
Addressing mode.
Sampler::Filter kanzi::CompositionTargetRenderPass::CompositionFormatSettings::filterMode |
Sampling mode.
Sampler::MipmapMode kanzi::CompositionTargetRenderPass::CompositionFormatSettings::mipmapMode |
Mipmap mode.
unsigned int kanzi::CompositionTargetRenderPass::CompositionFormatSettings::requestedSamples |
Requested multisampling level.
unsigned int kanzi::CompositionTargetRenderPass::CompositionFormatSettings::samples |
Actual samples to be requested.