Struct oxygengine_composite_renderer::composite_renderer::RenderState[][src]

pub struct RenderState {
    pub clear_color: Option<Color>,
    pub image_smoothing: bool,
    pub image_source_inner_margin: Scalar,
    pub triangles_outer_margin: Scalar,
    // some fields omitted
}

Fields

clear_color: Option<Color>image_smoothing: boolimage_source_inner_margin: Scalartriangles_outer_margin: Scalar

Implementations

impl RenderState[src]

pub fn new(clear_color: Option<Color>) -> Self[src]

pub fn clear_color(self, clear_color: Option<Color>) -> Self[src]

pub fn image_smoothing(self, image_smoothing: bool) -> Self[src]

pub fn image_source_inner_margin(
    self,
    image_source_inner_margin: Scalar
) -> Self
[src]

pub fn triangles_outer_margin(self, triangles_outer_margin: Scalar) -> Self[src]

pub fn stats(&self) -> &Stats[src]

pub fn set_stats(&mut self, stats: Stats)[src]

Trait Implementations

impl Clone for RenderState[src]

impl Debug for RenderState[src]

impl Default for RenderState[src]

impl<'de> Deserialize<'de> for RenderState[src]

impl Serialize for RenderState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Resource for T where
    T: Any, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryDefault for T where
    T: Default

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.