[][src]Struct lava::VkPipelineStageFlags

pub struct VkPipelineStageFlags {
    pub top_of_pipe: bool,
    pub draw_indirect: bool,
    pub vertex_input: bool,
    pub vertex_shader: bool,
    pub tessellation_control_shader: bool,
    pub tessellation_evaluation_shader: bool,
    pub geometry_shader: bool,
    pub fragment_shader: bool,
    pub early_fragment_tests: bool,
    pub late_fragment_tests: bool,
    pub color_attachment_output: bool,
    pub compute_shader: bool,
    pub transfer: bool,
    pub bottom_of_pipe: bool,
    pub host: bool,
    pub all_graphics: bool,
    pub all_commands: bool,
    pub transform_feedback_ext: bool,
    pub conditional_rendering_ext: bool,
    pub ray_tracing_shader_khr: bool,
    pub acceleration_structure_build_khr: bool,
    pub shading_rate_image_nv: bool,
    pub task_shader_nv: bool,
    pub mesh_shader_nv: bool,
    pub fragment_density_process_ext: bool,
    pub command_preprocess_nv: bool,
}

Wrapper for VkPipelineStageFlags.

Use the macro VkPipelineStageFlags! as an alternative method to create a structure. For example, these two snippets return the same value:

VkPipelineStageFlags!(top_of_pipe, draw_indirect)
VkPipelineStageFlags {
    top_of_pipe: true,
    draw_indirect: true,
    ..VkPipelineStageFlags::none()
}

Fields

top_of_pipe: booldraw_indirect: boolvertex_input: boolvertex_shader: booltessellation_control_shader: booltessellation_evaluation_shader: boolgeometry_shader: boolfragment_shader: boolearly_fragment_tests: boollate_fragment_tests: boolcolor_attachment_output: boolcompute_shader: booltransfer: boolbottom_of_pipe: boolhost: boolall_graphics: boolall_commands: booltransform_feedback_ext: boolconditional_rendering_ext: boolray_tracing_shader_khr: boolacceleration_structure_build_khr: boolshading_rate_image_nv: booltask_shader_nv: boolmesh_shader_nv: boolfragment_density_process_ext: boolcommand_preprocess_nv: bool

Methods

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

impl Debug for VkPipelineStageFlags[src]

impl Default for VkPipelineStageFlags[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.