Struct bedrock::ShaderStage [] [src]

pub struct ShaderStage(pub VkShaderStageFlags);

Bitmask specifying a pipeline stage

Methods

impl ShaderStage
[src]

EMPTY: Self = ShaderStage(0)

Empty bits

VERTEX: Self = ShaderStage(VK_SHADER_STAGE_VERTEX_BIT)

The vertex stage

TESSELLATION_CONTROL: Self = ShaderStage(VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT)

The tessellation control stage

TESSELLATION_EVALUATION: Self = ShaderStage(VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT)

The tessellation evaluation stage

GEOMETRY: Self = ShaderStage(VK_SHADER_STAGE_GEOMETRY_BIT)

The geometry stage

FRAGMENT: Self = ShaderStage(VK_SHADER_STAGE_FRAGMENT_BIT)

The fragment stage

COMPUTE: Self = ShaderStage(VK_SHADER_STAGE_COMPUTE_BIT)

The compute stage

ALL_GRAPHICS: Self = ShaderStage(VK_SHADER_STAGE_ALL_GRAPHICS)

A combination of bits used as shorthand to specify all graphics stages defined above (excluding the compute stage)

ALL: Self = ShaderStage(VK_SHADER_STAGE_ALL)

A combination of bits used as shorthand to specify all shader stages supported by the device, including all additional stages which are introduced by extensions

TESSELLATION: Self = ShaderStage(<Self>::TESSELLATION_CONTROL.0 |
                <Self>::TESSELLATION_EVALUATION.0)

A combination of tessellation control stage and tessellation evaluation stage

[src]

The vertex stage

[src]

The tessellation control stage

[src]

The tessellation evaluation stage

[src]

The geometry stage

[src]

The fragment stage

[src]

The compute stage

[src]

A combination of bits used as shorthand to specify all graphics stages defined above (excluding the compute stage)

[src]

A combination of tessellation control stage and tessellation evaluation stage

Trait Implementations

impl Debug for ShaderStage
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for ShaderStage
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ShaderStage
[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 ShaderStage
[src]

impl Copy for ShaderStage
[src]

Auto Trait Implementations

impl Send for ShaderStage

impl Sync for ShaderStage