Enum vulkano::shader::GeometryShaderInput
source · [−]pub enum GeometryShaderInput {
Points,
Lines,
LinesWithAdjacency,
Triangles,
TrianglesWithAdjacency,
}
Expand description
The input primitive type that is expected by a geometry shader.
Variants
Points
Lines
LinesWithAdjacency
Triangles
TrianglesWithAdjacency
Implementations
sourceimpl GeometryShaderInput
impl GeometryShaderInput
sourcepub fn is_compatible_with(&self, topology: PrimitiveTopology) -> bool
pub fn is_compatible_with(&self, topology: PrimitiveTopology) -> bool
Returns true if the given primitive topology can be used as input for this geometry shader.
Trait Implementations
sourceimpl Clone for GeometryShaderInput
impl Clone for GeometryShaderInput
sourcefn clone(&self) -> GeometryShaderInput
fn clone(&self) -> GeometryShaderInput
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 GeometryShaderInput
impl Debug for GeometryShaderInput
sourceimpl Hash for GeometryShaderInput
impl Hash for GeometryShaderInput
impl Copy for GeometryShaderInput
impl Eq for GeometryShaderInput
impl StructuralEq for GeometryShaderInput
impl StructuralPartialEq for GeometryShaderInput
Auto Trait Implementations
impl RefUnwindSafe for GeometryShaderInput
impl Send for GeometryShaderInput
impl Sync for GeometryShaderInput
impl Unpin for GeometryShaderInput
impl UnwindSafe for GeometryShaderInput
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