#[non_exhaustive]pub enum StageFacts {
None,
VertexWithoutPosition,
Hull(HullFacts),
Domain(DomainFacts),
Geometry(GeometryFacts),
RayTracing(RayTracingFacts),
Mesh(MeshFacts),
}Expand description
Facts about a program a stage’s varyings and resources do not carry.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
The program states nothing beyond its varyings and resources.
VertexWithoutPosition
A vertex program that writes no clip-space position: its outputs feed a hull program (or a stream-output
stage), so the program is a function (main) and not an entry point.
Hull(HullFacts)
A hull program’s patch.
Domain(DomainFacts)
A domain program’s patch.
Geometry(GeometryFacts)
A geometry program’s primitives.
RayTracing(RayTracingFacts)
A ray tracing program of a library (see RayTracingFacts).
Mesh(MeshFacts)
A mesh program.
Trait Implementations§
Source§impl Clone for StageFacts
impl Clone for StageFacts
Source§fn clone(&self) -> StageFacts
fn clone(&self) -> StageFacts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StageFacts
impl Debug for StageFacts
Source§impl Default for StageFacts
impl Default for StageFacts
Source§fn default() -> StageFacts
fn default() -> StageFacts
Returns the “default value” for a type. Read more
impl Eq for StageFacts
Source§impl Hash for StageFacts
impl Hash for StageFacts
Source§impl PartialEq for StageFacts
impl PartialEq for StageFacts
Source§impl Serialize for StageFacts
impl Serialize for StageFacts
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for StageFacts
Auto Trait Implementations§
impl Forget for StageFacts
impl Freeze for StageFacts
impl RefUnwindSafe for StageFacts
impl Send for StageFacts
impl Sync for StageFacts
impl Unpin for StageFacts
impl UnsafeUnpin for StageFacts
impl UnwindSafe for StageFacts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more