[][src]Struct bedrock::AccessFlags

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

Access Types

Fields

read: VkAccessFlagswrite: VkAccessFlags

Methods

impl AccessFlags[src]

pub const INDIRECT_COMMAND_READ: VkAccessFlags[src]

Specifies read access to an indirect command structure read as part of an indirect drawing or dispatch command.

pub const INDEX_READ: VkAccessFlags[src]

Specifies read access to an index buffer as part of an indexed drawing command, bound by vkCmdBindIndexBuffer.

pub const VERTEX_ATTRIBUTE_READ: VkAccessFlags[src]

Specifies read access to a vertex buffer as part of a drawing command, bound by vkCmdBindVertexBuffers.

pub const UNIFORM_READ: VkAccessFlags[src]

Specifies read access to a uniform buffer.

pub const INPUT_ATTACHMENT_READ: VkAccessFlags[src]

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

pub const SHADER: Self[src]

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[src]

pub const DEPTH_STENCIL_ATTACHMENT: Self[src]

pub const TRANSFER: Self[src]

Specifies read/write access to an image or buffer in a clear(write only) or copy operation.

pub const HOST: Self[src]

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[src]

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.

Auto Trait Implementations

impl RefUnwindSafe for AccessFlags

impl Send for AccessFlags

impl Sync for AccessFlags

impl Unpin for AccessFlags

impl UnwindSafe for AccessFlags

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.