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§
Implementations§
source§impl 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§
source§impl Clone for GeometryShaderInput
impl Clone for GeometryShaderInput
source§fn clone(&self) -> GeometryShaderInput
fn clone(&self) -> GeometryShaderInput
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 more