Skip to content

KDGpu::AttachmentDescription

#include <render_pass_options.h>

Public Attributes

Name
Format format
SampleCountFlagBits samples
AttachmentLoadOperation loadOperation
AttachmentStoreOperation storeOperation
AttachmentLoadOperation stencilLoadOperation
AttachmentStoreOperation stencilStoreOperation
TextureLayout initialLayout
TextureLayout finalLayout

Public Attributes Documentation

variable format

1
Format format { Format::R8G8B8A8_UNORM };

variable samples

1
SampleCountFlagBits samples { SampleCountFlagBits::Samples1Bit };

variable loadOperation

1
AttachmentLoadOperation loadOperation { AttachmentLoadOperation::Clear };

variable storeOperation

1
AttachmentStoreOperation storeOperation { AttachmentStoreOperation::Store };

variable stencilLoadOperation

1
AttachmentLoadOperation stencilLoadOperation { AttachmentLoadOperation::Clear };

variable stencilStoreOperation

1
AttachmentStoreOperation stencilStoreOperation { AttachmentStoreOperation::Store };

variable initialLayout

1
TextureLayout initialLayout { TextureLayout::Undefined };

variable finalLayout

1
TextureLayout finalLayout { TextureLayout::ColorAttachmentOptimal };

Updated on 2025-07-01 at 00:02:08 +0000