Describes the depth attachment behavior for a render pass. More...
#include <kanzi/gfx/create_info.hpp>
Public Attributes | |
| float | depthClearValue |
| The default clear value when the attachment is cleared on load. | |
| AttachmentLoadOperation | depthLoadOperation |
| The load operation for the depth attachment at the beginning of the render pass. | |
| AttachmentStoreOperation | depthStoreOperation |
| The store operation for the depth attachment at the end of the render pass. | |
| Format | format |
| The pixel format. | |
| bool | isDepthReadOnly |
| When true, declares that the render pass does not modify the depth aspect of the attachment. | |
| bool | isStencilReadOnly |
| When true, declares that the render pass does not modify the stencil aspect of the attachment. | |
| MultisampleCount | multisampleCount |
| The number of samples for multisample anti-aliasing. | |
| bool | resolveMultisample |
| Indicates whether this color attachment resolves the multisamples automatically when the render pass is complete. | |
| uint32_t | stencilClearValue |
| The default clear value when the attachment is cleared on load. | |
| AttachmentLoadOperation | stencilLoadOperation |
| The load operation for the stencil attachment at the beginning of the render pass. | |
| AttachmentStoreOperation | stencilStoreOperation |
| The store operation for the stencil attachment at the end of the render pass. | |
Describes the depth attachment behavior for a render pass.
| Format kanzi::gfx::DepthAttachmentDescription::format |
The pixel format.
| AttachmentLoadOperation kanzi::gfx::DepthAttachmentDescription::depthLoadOperation |
The load operation for the depth attachment at the beginning of the render pass.
| AttachmentStoreOperation kanzi::gfx::DepthAttachmentDescription::depthStoreOperation |
The store operation for the depth attachment at the end of the render pass.
| float kanzi::gfx::DepthAttachmentDescription::depthClearValue |
The default clear value when the attachment is cleared on load.
| AttachmentLoadOperation kanzi::gfx::DepthAttachmentDescription::stencilLoadOperation |
The load operation for the stencil attachment at the beginning of the render pass.
| AttachmentStoreOperation kanzi::gfx::DepthAttachmentDescription::stencilStoreOperation |
The store operation for the stencil attachment at the end of the render pass.
| uint32_t kanzi::gfx::DepthAttachmentDescription::stencilClearValue |
The default clear value when the attachment is cleared on load.
| MultisampleCount kanzi::gfx::DepthAttachmentDescription::multisampleCount |
The number of samples for multisample anti-aliasing.
| bool kanzi::gfx::DepthAttachmentDescription::resolveMultisample |
Indicates whether this color attachment resolves the multisamples automatically when the render pass is complete.
| bool kanzi::gfx::DepthAttachmentDescription::isDepthReadOnly |
When true, declares that the render pass does not modify the depth aspect of the attachment.
This permits the same depth texture to be sampled as an input within the pass while still bound as the framebuffer's depth attachment for depth testing. Render pipelines used inside such a pass must disable depth writes (DepthStencilStateCreateInfo::depthWriteEnabled). Defaults to false.
When the format has both a depth and a stencil aspect and this flag differs from isStencilReadOnly, the FeatureId::SeparateDepthStencilLayouts feature is required.
| bool kanzi::gfx::DepthAttachmentDescription::isStencilReadOnly |
When true, declares that the render pass does not modify the stencil aspect of the attachment.
Counterpart to isDepthReadOnly; see there for behaviour and the FeatureId::SeparateDepthStencilLayouts requirement on mixed configurations with packed depth/stencil formats. Defaults to false.