Enum
VkAddressCommandFlagBitsKHR
Bitmask specifying address copy parameters
Bits which can be set in a VkAddressCommandFlagsKHR mask are:
typedef enum VkAddressCommandFlagBitsKHR {
VK_ADDRESS_COMMAND_PROTECTED_BIT_KHR = 0x00000001,
VK_ADDRESS_COMMAND_FULLY_BOUND_BIT_KHR = 0x00000002,
VK_ADDRESS_COMMAND_STORAGE_BUFFER_USAGE_BIT_KHR = 0x00000004,
VK_ADDRESS_COMMAND_UNKNOWN_STORAGE_BUFFER_USAGE_BIT_KHR = 0x00000008,
} VkAddressCommandFlagBitsKHR;
pub struct AddressCommandFlagBitsKHR(u32);
impl AddressCommandFlagBitsKHR {
pub const PROTECTED: Self = 0x00000001;
pub const FULLY_BOUND: Self = 0x00000002;
pub const STORAGE_BUFFER_USAGE: Self = 0x00000004;
pub const UNKNOWN_STORAGE_BUFFER_USAGE: Self = 0x00000008;
}
VK_ADDRESS_COMMAND_PROTECTED_BIT_KHRspecifies that an address range is allocated from protected memory.VK_ADDRESS_COMMAND_FULLY_BOUND_BIT_KHRspecifies that an address range will be fully bound to physical memory when accessed.VK_ADDRESS_COMMAND_STORAGE_BUFFER_USAGE_BIT_KHRspecifies that all buffers containing any part of an address range were created with theVK_BUFFER_USAGE_STORAGE_BUFFER_BITusage.VK_ADDRESS_COMMAND_UNKNOWN_STORAGE_BUFFER_USAGE_BIT_KHRspecifies that whether buffers containing an any part of an address range were created withVK_BUFFER_USAGE_STORAGE_BUFFER_BITusage or not is unknown.VK_ADDRESS_COMMAND_TRANSFORM_FEEDBACK_BUFFER_USAGE_BIT_KHRspecifies that all buffers containing any part of an address range are allocated with theVK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXTusage.VK_ADDRESS_COMMAND_UNKNOWN_TRANSFORM_FEEDBACK_BUFFER_USAGE_BIT_KHRspecifies that whether buffers containing an any part of an address range were created withVK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXTusage or not is unknown.
If neither VK_ADDRESS_COMMAND_STORAGE_BUFFER_USAGE_BIT_KHR nor
VK_ADDRESS_COMMAND_UNKNOWN_STORAGE_BUFFER_USAGE_BIT_KHR are specified,
the address range must not be aliased with any buffer allocated with the
VK_BUFFER_USAGE_STORAGE_BUFFER_BIT.
If neither VK_ADDRESS_COMMAND_TRANSFORM_FEEDBACK_BUFFER_USAGE_BIT_KHR
nor VK_ADDRESS_COMMAND_UNKNOWN_TRANSFORM_FEEDBACK_BUFFER_USAGE_BIT_KHR
are specified, the address range must not be aliased with any buffer
allocated with the VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT.
Buffers can return overlapping address ranges if they are bound to
overlapping ranges of a VkDeviceMemory object.
Applications should ensure that if they do this kind of aliasing, that they
consistently either include or do not include
VK_BUFFER_USAGE_STORAGE_BUFFER_BIT
and VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT
on aliased buffers when considering these flags.Type
Enum