Kanzi 4.0.0-beta2
kanzi::gfx::ColorAttachmentDescription Struct Reference

Describes the color attachment behavior for a render pass. More...

#include <kanzi/gfx/create_info.hpp>

Public Attributes

ColorClearValue clearValue
 The default clear color value when the attachment is cleared on load.
 
Format format
 The pixel format.
 
AttachmentLoadOperation loadOperation
 The load operation for the attachment at the beginning of the render pass.
 
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.
 
AttachmentStoreOperation storeOperation
 The store operation for the attachment at the end of the render pass.
 

Detailed Description

Describes the color attachment behavior for a render pass.

Since
Kanzi 4.0.0

Member Data Documentation

◆ format

Format kanzi::gfx::ColorAttachmentDescription::format

The pixel format.

◆ loadOperation

AttachmentLoadOperation kanzi::gfx::ColorAttachmentDescription::loadOperation

The load operation for the attachment at the beginning of the render pass.

◆ storeOperation

AttachmentStoreOperation kanzi::gfx::ColorAttachmentDescription::storeOperation

The store operation for the attachment at the end of the render pass.

◆ clearValue

ColorClearValue kanzi::gfx::ColorAttachmentDescription::clearValue

The default clear color value when the attachment is cleared on load.

◆ multisampleCount

MultisampleCount kanzi::gfx::ColorAttachmentDescription::multisampleCount

The number of samples for multisample anti-aliasing.

◆ resolveMultisample

bool kanzi::gfx::ColorAttachmentDescription::resolveMultisample

Indicates whether this color attachment resolves the multisamples automatically when the render pass is complete.


The documentation for this struct was generated from the following file: