Enum vulkano::pipeline::shader::GeometryShaderExecutionMode
[−]
[src]
pub enum GeometryShaderExecutionMode { Points, Lines, LinesWithAdjacency, Triangles, TrianglesWithAdjacency, }
Declares which type of primitives are expected by the geometry shader.
Variants
Points
Lines
LinesWithAdjacency
Triangles
TrianglesWithAdjacency
Methods
impl GeometryShaderExecutionMode
[src]
pub fn matches(&self, input: PrimitiveTopology) -> bool
[src]
Returns true if the given primitive topology can be used with this execution mode.
Trait Implementations
impl Debug for GeometryShaderExecutionMode
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for GeometryShaderExecutionMode
[src]
impl Clone for GeometryShaderExecutionMode
[src]
fn clone(&self) -> GeometryShaderExecutionMode
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for GeometryShaderExecutionMode
[src]
fn eq(&self, __arg_0: &GeometryShaderExecutionMode) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.