Struct bedrock::PipelineStageFlags
[−]
[src]
pub struct PipelineStageFlags(pub VkPipelineStageFlags);
Bitmask specifying pipeline stages
Methods
impl PipelineStageFlags
[src]
pub const TOP_OF_PIPE: Self
TOP_OF_PIPE: Self = PipelineStageFlags(VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT)
The stage of the pipeline where any commands are initially received by the queue
pub const DRAW_INDIRECT: Self
DRAW_INDIRECT: Self = PipelineStageFlags(VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT)
The stage of the pipeline where Draw/DispatchIndirect data structures are consumed
pub const VERTEX_INPUT: Self
VERTEX_INPUT: Self = PipelineStageFlags(VK_PIPELINE_STAGE_VERTEX_INPUT_BIT)
The stage of the pipeline where vertex and index buffers are consumed
pub const VERTEX_SHADER: Self
VERTEX_SHADER: Self = PipelineStageFlags(VK_PIPELINE_STAGE_VERTEX_SHADER_BIT)
The vertex shader stage
pub const TESSELLATION_CONTROL_SHADER: Self
TESSELLATION_CONTROL_SHADER: Self = PipelineStageFlags(VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT)
The tessellation control shader stage
pub const TESSELLATION_EVALUATION_SHADER: Self
TESSELLATION_EVALUATION_SHADER: Self = PipelineStageFlags(VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT)
The tessellation evaluation shader stage
pub const GEOMETRY_SHADER: Self
GEOMETRY_SHADER: Self = PipelineStageFlags(VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT)
The geometry shader stage
pub const FRAGMENT_SHADER: Self
FRAGMENT_SHADER: Self = PipelineStageFlags(VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT)
The fragment shader stage
pub const EARLY_FRAGMENT_TESTS: Self
EARLY_FRAGMENT_TESTS: Self = PipelineStageFlags(VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT)
The stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed
pub const LATE_FRAGMENT_TESTS: Self
LATE_FRAGMENT_TESTS: Self = PipelineStageFlags(VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT)
The stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed
pub const COLOR_ATTACHMENT_OUTPUT: Self
COLOR_ATTACHMENT_OUTPUT: Self = PipelineStageFlags(VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT)
The stage of the pipeline after blending where the final color values are output from the pipeline
pub const TRANSFER: Self
TRANSFER: Self = PipelineStageFlags(VK_PIPELINE_STAGE_TRANSFER_BIT)
The execution of copy commands
pub const COMPUTE_SHADER: Self
COMPUTE_SHADER: Self = PipelineStageFlags(VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT)
The execution of a compute shader
pub const BOTTOM_OF_PIPE: Self
BOTTOM_OF_PIPE: Self = PipelineStageFlags(VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT)
The final stage in the pipeline where operations generated by all commands complete execution
pub const HOST: Self
HOST: Self = PipelineStageFlags(VK_PIPELINE_STAGE_HOST_BIT)
A pseudo-stage indicating execution on the host of reads/writes of device memory
pub const ALL_GRAPHICS: Self
ALL_GRAPHICS: Self = PipelineStageFlags(VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT)
The execution of all graphics pipeline stages
pub const ALL_COMMANDS: Self
ALL_COMMANDS: Self = PipelineStageFlags(VK_PIPELINE_STAGE_ALL_COMMANDS_BIT)
Equivalent to the logical OR of every other pipeline stage flag that is supported on the quue it is used with
pub fn top_of_pipe(&self) -> Self
[src]
The stage of the pipeline where any commands are initially received by the queue
pub fn draw_indirect(&self) -> Self
[src]
The stage of the pipeline where Draw/DispatchIndirect data structures are consumed
pub fn vertex_input(&self) -> Self
[src]
The stage of the pipeline where vertex and index buffers are consumed
pub fn vertex_shader(&self) -> Self
[src]
The vertex shader stage
pub fn tessellation_control_shader(&self) -> Self
[src]
The tessellation control shader stage
pub fn tessellation_evaluation_shader(&self) -> Self
[src]
The tessellation evaluation shader stage
pub fn geometry_shader(&self) -> Self
[src]
The geometry shader stage
pub fn fragment_shader(&self) -> Self
[src]
The fragment shader stage
pub fn early_fragment_tests(&self) -> Self
[src]
The stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed
pub fn late_fragment_tests(&self) -> Self
[src]
The stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed
pub fn color_attachment_output(&self) -> Self
[src]
The stage of the pipeline after blending where the final color values are output from the pipeline
pub fn transfer(&self) -> Self
[src]
The execution of copy commands
pub fn compute_shader(&self) -> Self
[src]
The execution of a compute shader
pub fn bottom_of_pipe(&self) -> Self
[src]
The final stage in the pipeline where operations generated by all commands complete execution
pub fn host(&self) -> Self
[src]
A pseudo-stage indicating execution on the host of reads/writes of device memory
pub fn all_graphics(&self) -> Self
[src]
The execution of all graphics pipeline stages
pub fn all_commands(&self) -> Self
[src]
Equivalent to the logical OR of every other pipeline stage flag that is supported on the quue it is used with
Trait Implementations
impl Debug for PipelineStageFlags
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for PipelineStageFlags
[src]
fn clone(&self) -> PipelineStageFlags
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for PipelineStageFlags
[src]
impl PartialEq for PipelineStageFlags
[src]
fn eq(&self, __arg_0: &PipelineStageFlags) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PipelineStageFlags) -> bool
[src]
This method tests for !=
.
impl Eq for PipelineStageFlags
[src]
impl PartialOrd for PipelineStageFlags
[src]
fn partial_cmp(&self, __arg_0: &PipelineStageFlags) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &PipelineStageFlags) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &PipelineStageFlags) -> bool
[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &PipelineStageFlags) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &PipelineStageFlags) -> bool
[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for PipelineStageFlags
[src]
fn cmp(&self, __arg_0: &PipelineStageFlags) -> Ordering
[src]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more