Struct shades::TessCtrlShaderEnv [−][src]
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
Auto Trait Implementations
impl RefUnwindSafe for TessCtrlShaderEnv
[src]
impl Send for TessCtrlShaderEnv
[src]
impl Sync for TessCtrlShaderEnv
[src]
impl Unpin for TessCtrlShaderEnv
[src]
impl UnwindSafe for TessCtrlShaderEnv
[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>,