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. | |
CompositionFormatSettings (unsigned int compositionWidth, unsigned int compositionHeight, GraphicsFormat cFormat, GraphicsFormat dTextureFormat, GraphicsFormat dRenderbufferFormat, GraphicsCompareFunction depthFunc, Sampler::AddressingMode addressing, Sampler::Filter filter, Sampler::MipmapMode mipmaps, unsigned int reqSamples) | |
Constructor. | |
bool | sizeMatches (const CompositionFormatSettings &otherFormat) const |
Checks whether a given size matches with another composition format. | |
void | updateSampleCount (unsigned int maxSamples) |
Updates the correct sample count based on maximum. | |
Public Attributes | |
Sampler::AddressingMode | addressingMode |
Addressing mode. | |
GraphicsFormat | colorFormat |
Requested color format. | |
GraphicsCompareFunction | depthCompareFunction |
Depth compare function. | |
GraphicsFormat | depthRenderbufferFormat |
Requested depth renderbuffer format. | |
GraphicsFormat | depthTextureFormat |
Requested depth texture format. | |
Sampler::Filter | filterMode |
Sampling mode. | |
unsigned int | height |
Composition height. | |
Sampler::MipmapMode | mipmapMode |
Mipmap mode. | |
unsigned int | requestedSamples |
Requested multisampling level. | |
unsigned int | samples |
Actual samples to be requested. | |
unsigned int | width |
Composition width. | |
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. |
dTextureFormat | Depth texture format. |
dRenderbufferFormat | Depth renderbuffer 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. |
Composition width.
Composition height.
GraphicsFormat kanzi::CompositionTargetRenderPass::CompositionFormatSettings::colorFormat |
Requested color format.
GraphicsFormat kanzi::CompositionTargetRenderPass::CompositionFormatSettings::depthTextureFormat |
Requested depth texture format.
GraphicsFormat kanzi::CompositionTargetRenderPass::CompositionFormatSettings::depthRenderbufferFormat |
Requested depth renderbuffer 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.
Requested multisampling level.
Actual samples to be requested.