Struct shades::TessCtrlShaderEnv[][src]

pub struct TessCtrlShaderEnv {
    pub max_patch_vertices_in: Expr<i32>,
    pub patch_vertices_in: Expr<i32>,
    pub primitive_id: Expr<i32>,
    pub invocation_id: Expr<i32>,
    pub input: Expr<[TessControlPerVertexIn]>,
    pub tess_level_outer: Var<[f32; 4]>,
    pub tess_level_inner: Var<[f32; 2]>,
    pub output: Var<[TessControlPerVertexOut]>,
}

Tessellation control shader environment.

Fields

max_patch_vertices_in: Expr<i32>

Maximum number of vertices per patch.

patch_vertices_in: Expr<i32>

Number of vertices for the current patch.

primitive_id: Expr<i32>

ID of the current primitive.

invocation_id: Expr<i32>

ID of the current tessellation control shader invocation.

input: Expr<[TessControlPerVertexIn]>

Array of per-vertex input expressions.

tess_level_outer: Var<[f32; 4]>

Outer tessellation levels.

tess_level_inner: Var<[f32; 2]>

Inner tessellation levels.

output: Var<[TessControlPerVertexOut]>

Array of per-vertex output variables.

Trait Implementations

impl Debug for TessCtrlShaderEnv[src]

Auto Trait Implementations

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.