Skip to content

KDGpu::AttachmentDescription

#include <render_pass_options.h>

Public Attributes

Name
Format format
SampleCountFlagBits samples
AttachmentLoadOperation loadOp
AttachmentStoreOperation storeOp
AttachmentLoadOperation stencilLoadOp
AttachmentStoreOperation stencilstoreOp
TextureLayout initialLayout
TextureLayout finalLayout
TextureAspectFlags aspectEnabled

Public Attributes Documentation

variable format

1
Format format { Format::R8G8B8A8_UNORM };

variable samples

1
SampleCountFlagBits samples { SampleCountFlagBits::Samples1Bit };

variable loadOp

1
AttachmentLoadOperation loadOp { AttachmentLoadOperation::Clear };

variable storeOp

1
AttachmentStoreOperation storeOp { AttachmentStoreOperation::Store };

variable stencilLoadOp

1
AttachmentLoadOperation stencilLoadOp { AttachmentLoadOperation::Clear };

variable stencilstoreOp

1
AttachmentStoreOperation stencilstoreOp { AttachmentStoreOperation::Store };

variable initialLayout

1
TextureLayout initialLayout { TextureLayout::Undefined };

variable finalLayout

1
TextureLayout finalLayout { TextureLayout::ColorAttachmentOptimal };

variable aspectEnabled

1
TextureAspectFlags aspectEnabled { TextureAspectFlagBits::None };

Updated on 2024-12-22 at 00:01:23 +0000