Enum vulkano::shader::ShaderExecution
source · [−]pub enum ShaderExecution {
Vertex,
TessellationControl,
TessellationEvaluation,
Geometry(GeometryShaderExecution),
Fragment,
Compute,
}
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
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 more
sourceimpl 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
Performs the conversion.
sourceimpl PartialEq<ShaderExecution> for ShaderExecution
impl PartialEq<ShaderExecution> for ShaderExecution
sourcefn eq(&self, other: &ShaderExecution) -> bool
fn eq(&self, other: &ShaderExecution) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ShaderExecution) -> bool
fn ne(&self, other: &ShaderExecution) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more