pub struct NinesBuffers {
pub vertices: Vec<f32>,
pub uvs: Vec<f32>,
pub box_coords: Vec<f32>,
pub indices: Vec<i32>,
pub vertex_offsets: Vec<u32>,
pub index_offsets: Vec<u32>,
}Expand description
Per-part Nine-Slice geometry for the current frame, concatenated across parts in CSR layout. Non-nines parts occupy an empty range.
vertices / box_coords / uvs are interleaved pairs sliced by
vertex_offsets; indices is sliced by index_offsets and its values are
local to each part’s vertex range.
Fields§
§vertices: Vec<f32>§uvs: Vec<f32>§box_coords: Vec<f32>§indices: Vec<i32>§vertex_offsets: Vec<u32>§index_offsets: Vec<u32>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NinesBuffers
impl RefUnwindSafe for NinesBuffers
impl Send for NinesBuffers
impl Sync for NinesBuffers
impl Unpin for NinesBuffers
impl UnsafeUnpin for NinesBuffers
impl UnwindSafe for NinesBuffers
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