Struct shades::TessEvalShaderEnv [−][src]
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
Auto Trait Implementations
impl RefUnwindSafe for TessEvalShaderEnv
[src]
impl Send for TessEvalShaderEnv
[src]
impl Sync for TessEvalShaderEnv
[src]
impl Unpin for TessEvalShaderEnv
[src]
impl UnwindSafe for TessEvalShaderEnv
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,