[−][src]Struct bedrock::AccessFlags
Access Types
Fields
read: VkAccessFlags
write: 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]
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
[src]
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
[src]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,