[][src]Struct makepad_render::CxPass

pub struct CxPass {
    pub color_textures: Vec<CxPassColorTexture>,
    pub depth_texture: Option<usize>,
    pub clear_depth: ClearDepth,
    pub depth_init: f64,
    pub override_dpi_factor: Option<f32>,
    pub main_view_id: Option<usize>,
    pub dep_of: CxPassDepOf,
    pub paint_dirty: bool,
    pub pass_size: Vec2,
    pub pass_uniforms: PassUniforms,
    pub zbias_step: f32,
    pub platform: CxPlatformPass,
}

Fields

color_textures: Vec<CxPassColorTexture>depth_texture: Option<usize>clear_depth: ClearDepthdepth_init: f64override_dpi_factor: Option<f32>main_view_id: Option<usize>dep_of: CxPassDepOfpaint_dirty: boolpass_size: Vec2pass_uniforms: PassUniformszbias_step: f32platform: 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

impl Clone for CxPass[src]

impl Default for CxPass[src]

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]

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 = !

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.

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

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

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