[−][src]Struct makepad_render::CxPass
Fields
color_textures: Vec<CxPassColorTexture>
depth_texture: Option<usize>
clear_depth: ClearDepth
depth_init: f64
override_dpi_factor: Option<f32>
main_view_id: Option<usize>
dep_of: CxPassDepOf
paint_dirty: bool
pass_size: Vec2
pass_uniforms: PassUniforms
zbias_step: f32
platform: CxPlatformPass
Methods
impl CxPass
[src]
pub fn def_uniforms(sg: ShaderGen) -> ShaderGen
[src]
pub fn uniform_camera_projection(&mut self, v: &Mat4)
[src]
pub fn uniform_camera_view(&mut self, v: &Mat4)
[src]
pub fn set_dpi_factor(&mut self, dpi_factor: f32)
[src]
pub fn set_ortho_matrix(&mut self, offset: Vec2, size: Vec2)
[src]
Trait Implementations
Auto Trait Implementations
impl Send for CxPass
impl Sync for CxPass
impl Unpin for CxPass
impl UnwindSafe for CxPass
impl RefUnwindSafe for CxPass
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,