Struct shades::TessEvalShaderEnv[][src]

pub struct TessEvalShaderEnv {
    pub patch_vertices_in: Expr<i32>,
    pub primitive_id: Expr<i32>,
    pub tess_coord: Expr<V3<f32>>,
    pub tess_level_outer: Expr<[f32; 4]>,
    pub tess_level_inner: Expr<[f32; 2]>,
    pub input: Expr<[TessEvaluationPerVertexIn]>,
    pub position: Var<V4<f32>>,
    pub point_size: Var<f32>,
    pub clip_distance: Var<[f32]>,
    pub cull_distance: Var<[f32]>,
}

Tessellation evalution shader environm.nt

Fields

patch_vertices_in: Expr<i32>

Number of vertices in the current patch.

primitive_id: Expr<i32>

ID of the current primitive.

tess_coord: Expr<V3<f32>>

Tessellation coordinates of the current vertex.

tess_level_outer: Expr<[f32; 4]>

Outer tessellation levels.

tess_level_inner: Expr<[f32; 2]>

Inner tessellation levels.

input: Expr<[TessEvaluationPerVertexIn]>

Array of per-evertex expressions.

position: Var<V4<f32>>

4D position of the vertex.

point_size: Var<f32>

Point size of the vertex.

clip_distance: Var<[f32]>

Clip distances to user-defined planes.

cull_distance: Var<[f32]>

Cull distances to user-defined planes.

Trait Implementations

impl Debug for TessEvalShaderEnv[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.