Struct luminance::render_state::RenderState [−][src]
pub struct RenderState { /* fields omitted */ }
Expand description
GPU render state.
You can get a default value with RenderState::default
and set the operations you want with the
various RenderState::set_*
methods.
Implementations
Override the blending configuration.
Override the blending configuration using separate blending.
Blending configuration.
Override the depth test configuration.
Depth test configuration.
Override the depth write configuration.
Depth write configuration.
Override the stencil test configuration.
Stencil test configuration.
Override the stencil operations.
Stencil test operations.
pub fn set_face_culling<FC>(self, face_culling: FC) -> Self where
FC: Into<Option<FaceCulling>>,
pub fn set_face_culling<FC>(self, face_culling: FC) -> Self where
FC: Into<Option<FaceCulling>>,
Override the face culling configuration.
Face culling configuration.
Override the scissor configuration.
Get the scissor configuration.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RenderState
impl Send for RenderState
impl Sync for RenderState
impl Unpin for RenderState
impl UnwindSafe for RenderState
Blanket Implementations
Mutably borrows from an owned value. Read more