pub struct LineBatchEntry {
pub vertex_buffer: Buffer,
pub index_buffer: Buffer,
pub index_count: u32,
pub line_params: [f32; 4],
}Expand description
GPU buffers for a single line layer’s tessellated mesh with dash data.
Fields§
§vertex_buffer: BufferVertex buffer ([LineVertex]).
index_buffer: BufferIndex buffer (u32 indices).
index_count: u32Total number of indices to draw.
line_params: [f32; 4]Line style parameters [dash_length, gap_length, cap_round, 0].
Auto Trait Implementations§
impl Freeze for LineBatchEntry
impl !RefUnwindSafe for LineBatchEntry
impl Send for LineBatchEntry
impl Sync for LineBatchEntry
impl Unpin for LineBatchEntry
impl UnsafeUnpin for LineBatchEntry
impl !UnwindSafe for LineBatchEntry
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