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
sourceimpl Clone for ShaderExecution
impl Clone for ShaderExecution
sourcefn clone(&self) -> ShaderExecution
fn clone(&self) -> ShaderExecution
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ShaderExecution
impl Debug for ShaderExecution
sourceimpl From<ShaderExecution> for ShaderStage
impl From<ShaderExecution> for ShaderStage
sourcefn from(val: ShaderExecution) -> Self
fn from(val: ShaderExecution) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ShaderExecution> for ShaderExecution
impl PartialEq<ShaderExecution> for ShaderExecution
sourcefn eq(&self, other: &ShaderExecution) -> bool
fn eq(&self, other: &ShaderExecution) -> bool
impl Copy for ShaderExecution
impl Eq for ShaderExecution
impl StructuralEq for ShaderExecution
impl StructuralPartialEq for ShaderExecution
Auto Trait Implementations
impl RefUnwindSafe for ShaderExecution
impl Send for ShaderExecution
impl Sync for ShaderExecution
impl Unpin for ShaderExecution
impl UnwindSafe for ShaderExecution
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more