Enum vulkano::shader::ShaderExecution
source · pub enum ShaderExecution {
Vertex,
TessellationControl,
TessellationEvaluation,
Geometry(GeometryShaderExecution),
Fragment,
Compute,
RayGeneration,
AnyHit,
ClosestHit,
Miss,
Intersection,
Callable,
}
Expand description
The mode in which a shader executes. This includes both information about the shader type/stage, and additional data relevant to particular shader types.
Variants§
Vertex
TessellationControl
TessellationEvaluation
Geometry(GeometryShaderExecution)
Fragment
Compute
RayGeneration
AnyHit
ClosestHit
Miss
Intersection
Callable
Trait Implementations§
source§impl Clone for ShaderExecution
impl Clone for ShaderExecution
source§fn clone(&self) -> ShaderExecution
fn clone(&self) -> ShaderExecution
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShaderExecution
impl Debug for ShaderExecution
source§impl From<ShaderExecution> for ShaderStage
impl From<ShaderExecution> for ShaderStage
source§fn from(val: ShaderExecution) -> Self
fn from(val: ShaderExecution) -> Self
Converts to this type from the input type.