pub struct DirectGpuBatchRange { /* private fields */ }Expand description
One scissor-bounded instanced draw range inside a compiled DirectGpuFrameBatch.
Implementations§
Source§impl DirectGpuBatchRange
impl DirectGpuBatchRange
pub fn get_base_instance(&self) -> u32
pub fn get_mut_base_instance(&mut self) -> &mut u32
pub fn set_base_instance(&mut self, val: u32) -> &mut Self
pub fn get_instance_count(&self) -> u32
pub fn get_mut_instance_count(&mut self) -> &mut u32
pub fn set_instance_count(&mut self, val: u32) -> &mut Self
pub fn get_scissor_x(&self) -> u32
pub fn get_mut_scissor_x(&mut self) -> &mut u32
pub fn set_scissor_x(&mut self, val: u32) -> &mut Self
pub fn get_scissor_y(&self) -> u32
pub fn get_mut_scissor_y(&mut self) -> &mut u32
pub fn set_scissor_y(&mut self, val: u32) -> &mut Self
pub fn get_scissor_w(&self) -> u32
pub fn get_mut_scissor_w(&mut self) -> &mut u32
pub fn set_scissor_w(&mut self, val: u32) -> &mut Self
pub fn get_scissor_h(&self) -> u32
pub fn get_mut_scissor_h(&mut self) -> &mut u32
pub fn set_scissor_h(&mut self, val: u32) -> &mut Self
pub fn get_scroll_x(&self) -> f32
pub fn get_mut_scroll_x(&mut self) -> &mut f32
pub fn set_scroll_x(&mut self, val: f32) -> &mut Self
pub fn get_scroll_y(&self) -> f32
pub fn get_mut_scroll_y(&mut self) -> &mut f32
pub fn set_scroll_y(&mut self, val: f32) -> &mut Self
pub fn get_texture_slot(&self) -> u8
pub fn get_mut_texture_slot(&mut self) -> &mut u8
pub fn set_texture_slot(&mut self, val: u8) -> &mut Self
pub fn get_layer_id(&self) -> u8
pub fn get_mut_layer_id(&mut self) -> &mut u8
pub fn set_layer_id(&mut self, val: u8) -> &mut Self
pub fn get_pad(&self) -> [u8; 2]
pub fn get_mut_pad(&mut self) -> &mut [u8; 2]
pub fn set_pad(&mut self, val: [u8; 2]) -> &mut Self
Trait Implementations§
Source§impl Clone for DirectGpuBatchRange
impl Clone for DirectGpuBatchRange
impl Copy for DirectGpuBatchRange
Source§impl Debug for DirectGpuBatchRange
impl Debug for DirectGpuBatchRange
Source§impl Default for DirectGpuBatchRange
impl Default for DirectGpuBatchRange
Source§impl PartialEq for DirectGpuBatchRange
impl PartialEq for DirectGpuBatchRange
impl StructuralPartialEq for DirectGpuBatchRange
Auto Trait Implementations§
impl Forget for DirectGpuBatchRange
impl Freeze for DirectGpuBatchRange
impl Move for DirectGpuBatchRange
impl RefUnwindSafe for DirectGpuBatchRange
impl Send for DirectGpuBatchRange
impl Sync for DirectGpuBatchRange
impl Unpin for DirectGpuBatchRange
impl UnsafeUnpin for DirectGpuBatchRange
impl UnwindSafe for DirectGpuBatchRange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more