Struct shades::output::GeometryShaderOutputs
source · [−]pub struct GeometryShaderOutputs<O> {
pub position: Var<V4<f32>>,
pub point_size: Var<f32>,
pub clip_distance: Var<[f32]>,
pub cull_distance: Var<[f32]>,
pub primitive_id: Var<i32>,
pub layer: Var<i32>,
pub viewport_index: Var<i32>,
pub user: O,
}
Expand description
Geometry shader outputs.
Fields
position: Var<V4<f32>>
Output 4D vertex position.
point_size: Var<f32>
Output vertex point size.
clip_distance: Var<[f32]>
Output clip distances to user-defined planes.
cull_distance: Var<[f32]>
Output cull distances to user-defined planes.
primitive_id: Var<i32>
Primitive ID to write to in.
layer: Var<i32>
Layer to write to in.
viewport_index: Var<i32>
Viewport index to write to.
user: O
Trait Implementations
sourceimpl<O: Debug> Debug for GeometryShaderOutputs<O>
impl<O: Debug> Debug for GeometryShaderOutputs<O>
Auto Trait Implementations
impl<O> RefUnwindSafe for GeometryShaderOutputs<O> where
O: RefUnwindSafe,
impl<O> Send for GeometryShaderOutputs<O> where
O: Send,
impl<O> Sync for GeometryShaderOutputs<O> where
O: Sync,
impl<O> Unpin for GeometryShaderOutputs<O> where
O: Unpin,
impl<O> UnwindSafe for GeometryShaderOutputs<O> where
O: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more