pub struct GeometryInfo {
pub vertex_start: usize,
pub vertex_count: usize,
pub reserved_vertex_count: usize,
pub index_start: isize,
pub index_count: usize,
pub reserved_index_count: usize,
pub start: usize,
pub count: usize,
/* private fields */
}Expand description
One entry of _geometryInfo.
Fields§
§vertex_start: usizeThe first vertex of this geometry’s range in the packed buffer.
vertex_count: usizeHow many vertices of the geometry were actually written.
reserved_vertex_count: usizeHow many vertices the range reserves, which may exceed vertex_count.
index_start: isize-1 when the batch geometry is not indexed.
index_count: usizeHow many indices of the geometry were actually written.
reserved_index_count: usizeHow many indices the range reserves, which may exceed index_count.
start: usizeThe draw range: indexStart / indexCount for an indexed batch.
count: usizeThe draw range’s count.
Trait Implementations§
Source§impl Clone for GeometryInfo
impl Clone for GeometryInfo
Auto Trait Implementations§
impl Freeze for GeometryInfo
impl RefUnwindSafe for GeometryInfo
impl Send for GeometryInfo
impl Sync for GeometryInfo
impl Unpin for GeometryInfo
impl UnsafeUnpin for GeometryInfo
impl UnwindSafe for GeometryInfo
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