[−][src]Struct lava::VkAccessFlags
Wrapper for VkAccessFlags.
Use the macro VkAccessFlags!
as an alternative method to create a structure. For example, these two snippets return the same value:
VkAccessFlags!(indirect_command_read, index_read)
VkAccessFlags { indirect_command_read: true, index_read: true, ..VkAccessFlags::none() }
Fields
indirect_command_read: bool
index_read: bool
vertex_attribute_read: bool
uniform_read: bool
input_attachment_read: bool
shader_read: bool
shader_write: bool
color_attachment_read: bool
color_attachment_write: bool
depth_stencil_attachment_read: bool
depth_stencil_attachment_write: bool
transfer_read: bool
transfer_write: bool
host_read: bool
host_write: bool
memory_read: bool
memory_write: bool
transform_feedback_write_ext: bool
transform_feedback_counter_read_ext: bool
transform_feedback_counter_write_ext: bool
conditional_rendering_read_ext: bool
command_process_read_nvx: bool
command_process_write_nvx: bool
color_attachment_read_noncoherent_ext: bool
shading_rate_image_read_nv: bool
acceleration_structure_read_nv: bool
acceleration_structure_write_nv: bool
fragment_density_map_read_ext: bool
Methods
impl VkAccessFlags
[src]
pub fn none() -> Self
[src]
Return a structure with all flags to false
.
pub fn all() -> Self
[src]
Return a structure with all flags to true
.
pub fn to_u32(&self) -> u32
[src]
Return the numerical bit flags corresponding to the structure (as described in the Vulkan specs).
pub fn from_u32(value: u32) -> Self
[src]
Create a structure corresponding to the specified numerical bit flags.
Trait Implementations
impl Clone for VkAccessFlags
[src]
fn clone(&self) -> VkAccessFlags
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for VkAccessFlags
[src]
fn default() -> VkAccessFlags
[src]
impl Debug for VkAccessFlags
[src]
Auto Trait Implementations
impl Send for VkAccessFlags
impl Sync for VkAccessFlags
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom 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 for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,