[−][src]Struct makepad_render::DrawCall
Fields
draw_call_id: usizeview_id: usizeredraw_id: u64sub_view_id: usizeshader_id: usizeshader_instance_id: usizeinstance: Vec<f32>current_instance_offset: usizedraw_uniforms: DrawUniformsuniforms: Vec<f32>uniforms_required: usizedo_v_scroll: booldo_h_scroll: booltextures_2d: Vec<u32>instance_dirty: booluniforms_dirty: boolplatform: CxPlatformDrawCallMethods
impl DrawCall[src]
pub fn need_uniforms_now(&self) -> bool[src]
pub fn set_local_scroll(&mut self, scroll: Vec2, local_scroll: Vec2)[src]
pub fn set_zbias(&mut self, zbias: f32)[src]
pub fn set_clip(&mut self, clip: (Vec2, Vec2))[src]
pub fn get_current_instance_area(&self, instance_count: usize) -> InstanceArea[src]
pub fn clip_and_scroll_rect(&self, x: f32, y: f32, w: f32, h: f32) -> Rect[src]
Trait Implementations
Auto Trait Implementations
impl Send for DrawCall
impl Sync for DrawCall
impl Unpin for DrawCall
impl UnwindSafe for DrawCall
impl RefUnwindSafe for DrawCall
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,