pub struct TexturedDraw3D {
pub material: TexturedMaterial3D,
pub index_start: u32,
pub index_count: u32,
}Expand description
One index range of a batched textured mesh, with its own material.
Fields§
§material: TexturedMaterial3D§index_start: u32First index in the shared index buffer.
index_count: u32Number of indices, a multiple of three.
Implementations§
Source§impl TexturedDraw3D
impl TexturedDraw3D
pub fn new( material: TexturedMaterial3D, index_start: u32, index_count: u32, ) -> Self
Trait Implementations§
Source§impl Clone for TexturedDraw3D
impl Clone for TexturedDraw3D
Source§impl Debug for TexturedDraw3D
impl Debug for TexturedDraw3D
Source§impl PartialEq for TexturedDraw3D
impl PartialEq for TexturedDraw3D
impl StructuralPartialEq for TexturedDraw3D
Auto Trait Implementations§
impl Forget for TexturedDraw3D
impl Freeze for TexturedDraw3D
impl Move for TexturedDraw3D
impl RefUnwindSafe for TexturedDraw3D
impl Send for TexturedDraw3D
impl Sync for TexturedDraw3D
impl Unpin for TexturedDraw3D
impl UnsafeUnpin for TexturedDraw3D
impl UnwindSafe for TexturedDraw3D
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