Struct vulkano::descriptor::descriptor::ShaderStages [] [src]

pub struct ShaderStages {
    pub vertex: bool,
    pub tessellation_control: bool,
    pub tessellation_evaluation: bool,
    pub geometry: bool,
    pub fragment: bool,
    pub compute: bool,
}

Describes which shader stages have access to a descriptor.

Fields

True means that the descriptor will be used by the vertex shader.

True means that the descriptor will be used by the tessellation control shader.

True means that the descriptor will be used by the tessellation evaluation shader.

True means that the descriptor will be used by the geometry shader.

True means that the descriptor will be used by the fragment shader.

True means that the descriptor will be used by the compute shader.

Methods

impl ShaderStages
[src]

[src]

Creates a ShaderStages struct will all stages set to true.

[src]

Creates a ShaderStages struct will all stages set to false.

[src]

Creates a ShaderStages struct with all graphics stages set to true.

[src]

Creates a ShaderStages struct with the compute stage set to true.

[src]

Checks whether we have more stages enabled than other.

[src]

Checks whether any of the stages in self are also present in other.

Trait Implementations

impl Debug for ShaderStages
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for ShaderStages
[src]

impl Clone for ShaderStages
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ShaderStages
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for ShaderStages
[src]

impl BitOr for ShaderStages
[src]

The resulting type after applying the | operator.

[src]

Performs the | operation.

impl From<ShaderStages> for PipelineStages
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ShaderStages

impl Sync for ShaderStages