[−][src]Struct makepad_render::Pass
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]
&mut self,
cx: &mut Cx,
texture: &mut Texture,
clear_color: ClearColor
)
pub fn set_depth_texture(
&mut self,
cx: &mut Cx,
texture: &mut Texture,
clear_depth: ClearDepth
)[src]
&mut self,
cx: &mut Cx,
texture: &mut Texture,
clear_depth: ClearDepth
)
pub fn end_pass(&mut self, cx: &mut Cx)[src]
pub fn redraw_pass_area(&mut self, cx: &mut Cx)[src]
Trait Implementations
Auto Trait Implementations
impl Send for Pass
impl Sync for Pass
impl Unpin for Pass
impl UnwindSafe for Pass
impl RefUnwindSafe for Pass
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,