pub struct PrimitiveState {
pub front_face: FrontFace,
/* private fields */
}Expand description
The pipeline’s primitive-assembly state: how vertices become triangles, and which of those triangles survive rasterization.
Fields§
§front_face: FrontFaceWhich winding order counts as front facing.
Implementations§
Source§impl PrimitiveState
impl PrimitiveState
pub fn get_front_face(&self) -> FrontFace
Trait Implementations§
Source§impl Clone for PrimitiveState
impl Clone for PrimitiveState
impl Copy for PrimitiveState
Source§impl Debug for PrimitiveState
impl Debug for PrimitiveState
Auto Trait Implementations§
impl Freeze for PrimitiveState
impl RefUnwindSafe for PrimitiveState
impl Send for PrimitiveState
impl Sync for PrimitiveState
impl Unpin for PrimitiveState
impl UnsafeUnpin for PrimitiveState
impl UnwindSafe for PrimitiveState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more