[][src]Struct makepad_render::InstanceArea

pub struct InstanceArea {
    pub view_id: usize,
    pub draw_call_id: usize,
    pub instance_offset: usize,
    pub instance_count: usize,
    pub redraw_id: u64,
}

Fields

view_id: usizedraw_call_id: usizeinstance_offset: usizeinstance_count: usizeredraw_id: u64

Methods

impl InstanceArea[src]

pub fn push_slice(&self, cx: &mut Cx, data: &[f32])[src]

pub fn push_last_float(
    &self,
    cx: &mut Cx,
    animator: &Animator,
    ident: InstanceFloat
) -> f32
[src]

pub fn push_float(&self, cx: &mut Cx, value: f32)[src]

pub fn push_last_vec2(
    &self,
    cx: &mut Cx,
    animator: &Animator,
    ident: InstanceVec2
) -> Vec2
[src]

pub fn push_vec2(&self, cx: &mut Cx, value: Vec2)[src]

pub fn push_last_vec3(
    &self,
    cx: &mut Cx,
    animator: &Animator,
    ident: InstanceVec3
) -> Vec3
[src]

pub fn push_vec3(&self, cx: &mut Cx, value: Vec3)[src]

pub fn push_last_vec4(
    &self,
    cx: &mut Cx,
    animator: &Animator,
    ident: InstanceVec4
) -> Vec4
[src]

pub fn push_vec4(&self, cx: &mut Cx, value: Vec4)[src]

pub fn push_last_color(
    &self,
    cx: &mut Cx,
    animator: &Animator,
    ident: InstanceColor
) -> Color
[src]

pub fn push_color(&self, cx: &mut Cx, value: Color)[src]

pub fn set_do_scroll(&self, cx: &mut Cx, hor: bool, ver: bool)[src]

pub fn need_uniforms_now(&self, cx: &mut Cx) -> bool[src]

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

pub fn push_uniform_texture_2d_id(&self, cx: &mut Cx, texture_id: usize)[src]

pub fn push_uniform_float(&self, cx: &mut Cx, v: f32)[src]

pub fn push_uniform_vec2(&self, cx: &mut Cx, v: Vec2)[src]

pub fn push_uniform_vec2f(&self, cx: &mut Cx, x: f32, y: f32)[src]

pub fn push_uniform_vec3f(&mut self, cx: &mut Cx, x: f32, y: f32, z: f32)[src]

pub fn push_uniform_vec4f(&self, cx: &mut Cx, x: f32, y: f32, z: f32, w: f32)[src]

pub fn push_uniform_mat4(&self, cx: &mut Cx, v: &Mat4)[src]

Trait Implementations

impl Clone for InstanceArea[src]

impl Copy for InstanceArea[src]

impl Debug for InstanceArea[src]

impl Default for InstanceArea[src]

impl Into<Area> for InstanceArea[src]

impl PartialEq<InstanceArea> for InstanceArea[src]

impl StructuralPartialEq for InstanceArea[src]

Auto Trait Implementations

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.