[−][src]Struct makepad_render::InstanceArea
Fields
view_id: usize
draw_call_id: usize
instance_offset: usize
instance_count: usize
redraw_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]
&self,
cx: &mut Cx,
animator: &Animator,
ident: InstanceFloat
) -> f32
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]
&self,
cx: &mut Cx,
animator: &Animator,
ident: InstanceVec2
) -> Vec2
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]
&self,
cx: &mut Cx,
animator: &Animator,
ident: InstanceVec3
) -> Vec3
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]
&self,
cx: &mut Cx,
animator: &Animator,
ident: InstanceVec4
) -> Vec4
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]
&self,
cx: &mut Cx,
animator: &Animator,
ident: InstanceColor
) -> Color
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]
fn clone(&self) -> InstanceArea
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for InstanceArea
[src]
impl Debug for InstanceArea
[src]
impl Default for InstanceArea
[src]
fn default() -> InstanceArea
[src]
impl Into<Area> for InstanceArea
[src]
impl PartialEq<InstanceArea> for InstanceArea
[src]
fn eq(&self, other: &InstanceArea) -> bool
[src]
fn ne(&self, other: &InstanceArea) -> bool
[src]
impl StructuralPartialEq for InstanceArea
[src]
Auto Trait Implementations
impl RefUnwindSafe for InstanceArea
impl Send for InstanceArea
impl Sync for InstanceArea
impl Unpin for InstanceArea
impl UnwindSafe for InstanceArea
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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 = Infallible
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>,