RenderAttachmentBuild

Trait RenderAttachmentBuild 

Source
pub trait RenderAttachmentBuild {
    // Required methods
    fn clear_impl(self, r: f64, g: f64, b: f64, a: f64) -> Self;
    fn clear(self) -> Self;
    fn clear_black(self) -> Self;
    fn clear_white(self) -> Self;
    fn clear_color(self, color: u32) -> Self;
    fn readonly(self) -> Self;
}

Required Methods§

Source

fn clear_impl(self, r: f64, g: f64, b: f64, a: f64) -> Self

Source

fn clear(self) -> Self

Source

fn clear_black(self) -> Self

Source

fn clear_white(self) -> Self

Source

fn clear_color(self, color: u32) -> Self

Source

fn readonly(self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a> RenderAttachmentBuild for RenderPassColorAttachment<'a>

Source§

fn clear_impl(self, r: f64, g: f64, b: f64, a: f64) -> Self

Source§

fn clear(self) -> Self

Source§

fn clear_black(self) -> Self

Source§

fn clear_white(self) -> Self

Source§

fn clear_color(self, color: u32) -> Self

Source§

fn readonly(self) -> Self

Implementors§