Struct bedrock::AccessFlags
[−]
[src]
pub struct AccessFlags { pub read: VkAccessFlags, pub write: VkAccessFlags, }
Access Types
Fields
read: VkAccessFlags
write: VkAccessFlags
Methods
impl AccessFlags
[src]
pub const INDIRECT_COMMAND_READ: VkAccessFlags
INDIRECT_COMMAND_READ: VkAccessFlags = VK_ACCESS_INDIRECT_COMMAND_READ_BIT
Specifies read access to an indirect command structure read as part of an indirect drawing or dispatch command.
pub const INDEX_READ: VkAccessFlags
INDEX_READ: VkAccessFlags = VK_ACCESS_INDEX_READ_BIT
Specifies read access to an index buffer as part of an indexed drawing command, bound by vkCmdBindIndexBuffer
.
pub const VERTEX_ATTRIBUTE_READ: VkAccessFlags
VERTEX_ATTRIBUTE_READ: VkAccessFlags = VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT
Specifies read access to a vertex buffer as part of a drawing command, bound by vkCmdBindVertexBuffers
.
pub const UNIFORM_READ: VkAccessFlags
UNIFORM_READ: VkAccessFlags = VK_ACCESS_UNIFORM_READ_BIT
Specifies read access to a uniform buffer.
pub const INPUT_ATTACHMENT_READ: VkAccessFlags
INPUT_ATTACHMENT_READ: VkAccessFlags = VK_ACCESS_INPUT_ATTACHMENT_READ_BIT
Specifies read access to an input attachment within a render pass during fragment shading.
pub const SHADER: Self
SHADER: Self = AccessFlags{read: VK_ACCESS_SHADER_READ_BIT, write: VK_ACCESS_SHADER_WRITE_BIT,}
Specifies read/write access to a storage buffer, uniform texel buffer(read only), storage texel buffer, samples image(read only), or storage image.
pub const COLOR_ATTACHMENT: Self
COLOR_ATTACHMENT: Self = AccessFlags{read: VK_ACCESS_COLOR_ATTACHMENT_READ_BIT, write: VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT,}
read
: Specifies read access to a color attachment, such as via blending, logic operations, or via certain subpass load operations.write
: specifies write access to a color or resolve attachment during a render pass or via certain subpass load and store operations.
pub const DEPTH_STENCIL_ATTACHMENT: Self
DEPTH_STENCIL_ATTACHMENT: Self = AccessFlags{read: VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT, write: VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT,}
read
: Specifies read access to a depth/stencil attachment, via depth or stencil operations or via certain subpass load operations.write
: Specifies write access to a depth/stencil attachment, via depth or stencil operations or via certain subpass load and store operations.
pub const TRANSFER: Self
TRANSFER: Self = AccessFlags{read: VK_ACCESS_TRANSFER_READ_BIT, write: VK_ACCESS_TRANSFER_WRITE_BIT,}
Specifies read/write access to an image or buffer in a clear(write only) or copy operation.
pub const HOST: Self
HOST: Self = AccessFlags{read: VK_ACCESS_HOST_READ_BIT, write: VK_ACCESS_HOST_WRITE_BIT,}
Specifies read/write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory.
pub const MEMORY: Self
MEMORY: Self = AccessFlags{read: VK_ACCESS_MEMORY_READ_BIT, write: VK_ACCESS_MEMORY_WRITE_BIT,}
Specifies read/write access via non-specific entities. These entities include the Vulkan device and host, but may also include entities external to the Vulkan device or otherwise not part of the core Vulkan pipeline.
- When the
write
mask included in a source access mask, all writes that are performed by entities known to the Vulkan device are made available. - When included in a destination access mask, makes all available writes visible to all future read accesses on entities known to the Vulkan device.