Struct shades::VertexShaderEnv [−][src]
Vertex shader environment.
Fields
vertex_id: Expr<i32>
ID of the current vertex.
instance_id: Expr<i32>
Instance ID of the current vertex.
base_vertex: Expr<i32>
Base vertex offset.
base_instance: Expr<i32>
Base instance vertex offset.
position: Var<V4<f32>>
4D position of the vertex.
point_size: Var<f32>
Point size of the vertex.
clip_distance: Var<[f32]>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VertexShaderEnv
[src]
impl Send for VertexShaderEnv
[src]
impl Sync for VertexShaderEnv
[src]
impl Unpin for VertexShaderEnv
[src]
impl UnwindSafe for VertexShaderEnv
[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>,