Struct luminance::render_state::RenderState [−][src]
pub struct RenderState { /* fields omitted */ }
GPU render state.
You can get a default value with RenderState::default
and set the operations you want with the
various RenderState::set_*
methods.
Methods
impl RenderState
[src]
impl RenderState
pub fn set_blending<B>(self, blending: B) -> Self where
B: Into<Option<(Equation, Factor, Factor)>>,
[src]
pub fn set_blending<B>(self, blending: B) -> Self where
B: Into<Option<(Equation, Factor, Factor)>>,
pub fn blending(&self) -> Option<(Equation, Factor, Factor)>
[src]
pub fn blending(&self) -> Option<(Equation, Factor, Factor)>
pub fn set_depth_test(self, depth_test: DepthTest) -> Self
[src]
pub fn set_depth_test(self, depth_test: DepthTest) -> Self
pub fn depth_test(&self) -> DepthTest
[src]
pub fn depth_test(&self) -> DepthTest
pub fn set_face_culling<FC>(self, face_culling: FC) -> Self where
FC: Into<Option<FaceCulling>>,
[src]
pub fn set_face_culling<FC>(self, face_culling: FC) -> Self where
FC: Into<Option<FaceCulling>>,
pub fn face_culling(&self) -> Option<FaceCulling>
[src]
pub fn face_culling(&self) -> Option<FaceCulling>
Trait Implementations
impl Copy for RenderState
[src]
impl Copy for RenderState
impl Clone for RenderState
[src]
impl Clone for RenderState
fn clone(&self) -> RenderState
[src]
fn clone(&self) -> RenderState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for RenderState
[src]
impl Debug for RenderState
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for RenderState
[src]
impl Eq for RenderState
impl PartialEq for RenderState
[src]
impl PartialEq for RenderState
fn eq(&self, other: &RenderState) -> bool
[src]
fn eq(&self, other: &RenderState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RenderState) -> bool
[src]
fn ne(&self, other: &RenderState) -> bool
This method tests for !=
.
impl Default for RenderState
[src]
impl Default for RenderState
Auto Trait Implementations
impl Send for RenderState
impl Send for RenderState
impl Sync for RenderState
impl Sync for RenderState