Enum
VkAttachmentDescriptionFlagBits
Bitmask specifying additional properties of an attachment
Bits which can be set in VkAttachmentDescription::flags,
describing additional properties of the attachment, are:
typedef enum VkAttachmentDescriptionFlagBits {
VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT = 0x00000001,
// Provided by extensions
VK_ATTACHMENT_DESCRIPTION_RESOLVE_SKIP_TRANSFER_FUNCTION_BIT_KHR = 0x00000002,
VK_ATTACHMENT_DESCRIPTION_RESOLVE_ENABLE_TRANSFER_FUNCTION_BIT_KHR = 0x00000004,
} VkAttachmentDescriptionFlagBits;
pub struct AttachmentDescriptionFlagBits(u32);
impl AttachmentDescriptionFlagBits {
pub const MAY_ALIAS: Self = 0x00000001;
pub const RESOLVE_SKIP_TRANSFER_FUNCTION_KHR: Self = 0x00000002;
pub const RESOLVE_ENABLE_TRANSFER_FUNCTION_KHR: Self = 0x00000004;
}
VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BITspecifies that the attachment aliases the same device memory as other attachments.VK_ATTACHMENT_DESCRIPTION_RESOLVE_SKIP_TRANSFER_FUNCTION_BIT_KHRspecifies that resolve operations happening to an sRGB encoded attachment must not convert samples from nonlinear to linear before averaging.VK_ATTACHMENT_DESCRIPTION_RESOLVE_ENABLE_TRANSFER_FUNCTION_BIT_KHRspecifies that resolve operations happening to an sRGB encoded attachment must convert samples from nonlinear to linear before averaging.
Parent
VK_VERSION_1_0Type
Enum