Struct bedrock::AccessFlags [] [src]

pub struct AccessFlags {
    pub read: VkAccessFlags,
    pub write: VkAccessFlags,
}

Access Types

Fields

Methods

impl AccessFlags
[src]

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.

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.

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.

UNIFORM_READ: VkAccessFlags = VK_ACCESS_UNIFORM_READ_BIT

Specifies read access to a uniform buffer.

INPUT_ATTACHMENT_READ: VkAccessFlags = VK_ACCESS_INPUT_ATTACHMENT_READ_BIT

Specifies read access to an input attachment within a render pass during fragment shading.

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.

COLOR_ATTACHMENT: Self = AccessFlags{read: VK_ACCESS_COLOR_ATTACHMENT_READ_BIT,
            write: VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT,}

DEPTH_STENCIL_ATTACHMENT: Self = AccessFlags{read: VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT,
            write: VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT,}

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.

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.

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.

Trait Implementations

Auto Trait Implementations

impl Send for AccessFlags

impl Sync for AccessFlags