#[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§impl Debug for StageFacts
impl Debug for StageFacts
Source§impl Default for StageFacts
impl Default for StageFacts
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
impl StructuralPartialEq for StageFacts
Auto Trait Implementations§
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