[][src]Struct luminance::shader::TessellationStages

pub struct TessellationStages<'a, S> where
    S: ?Sized
{ pub control: &'a S, pub evaluation: &'a S, }

Tessellation stages.

  • The control stage represents the tessellation control stage, which is invoked first.
  • The evaluation stage represents the tessellation evaluation stage, which is invoked after the control stage has finished.

Parametricity

  • S is the representation of the stage. Depending on the interface you choose to create a Program, it might be a Stage or something akin to &str / String.

Fields

control: &'a S

Tessellation control representation.

evaluation: &'a S

Tessellation evaluation representation.

Auto Trait Implementations

impl<'a, S: ?Sized> RefUnwindSafe for TessellationStages<'a, S> where
    S: RefUnwindSafe
[src]

impl<'a, S: ?Sized> Send for TessellationStages<'a, S> where
    S: Sync
[src]

impl<'a, S: ?Sized> Sync for TessellationStages<'a, S> where
    S: Sync
[src]

impl<'a, S: ?Sized> Unpin for TessellationStages<'a, S>[src]

impl<'a, S: ?Sized> UnwindSafe for TessellationStages<'a, S> where
    S: RefUnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.