[][src]Struct makepad_render::Pass

pub struct Pass {
    pub pass_id: Option<usize>,
}

Fields

pass_id: Option<usize>

Methods

impl Pass[src]

pub fn begin_pass(&mut self, cx: &mut Cx)[src]

pub fn override_dpi_factor(&mut self, cx: &mut Cx, dpi_factor: f32)[src]

pub fn make_dep_of_pass(&mut self, cx: &mut Cx, pass: &Pass)[src]

pub fn set_size(&mut self, cx: &mut Cx, pass_size: Vec2)[src]

pub fn add_color_texture(
    &mut self,
    cx: &mut Cx,
    texture: &mut Texture,
    clear_color: ClearColor
)
[src]

pub fn set_depth_texture(
    &mut self,
    cx: &mut Cx,
    texture: &mut Texture,
    clear_depth: ClearDepth
)
[src]

pub fn end_pass(&mut self, cx: &mut Cx)[src]

pub fn redraw_pass_area(&mut self, cx: &mut Cx)[src]

Trait Implementations

impl Clone for Pass[src]

impl Default for Pass[src]

Auto Trait Implementations

impl RefUnwindSafe for Pass

impl Send for Pass

impl Sync for Pass

impl Unpin for Pass

impl UnwindSafe for Pass

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.