pub struct FillPatternBatchEntry {
pub vertex_buffer: Buffer,
pub index_buffer: Buffer,
pub index_count: u32,
pub uniform_bind_group: BindGroup,
pub texture_bind_group: BindGroup,
pub _pattern_texture: Texture,
pub _pattern_texture_view: TextureView,
pub _fill_params_buffer: Buffer,
}Expand description
GPU buffers for a single patterned fill layer.
Fields§
§vertex_buffer: BufferVertex buffer ([FillPatternVertex]).
index_buffer: BufferIndex buffer (u32 indices).
index_count: u32Total number of indices to draw.
uniform_bind_group: BindGroupBind group 0: view-proj (binding 0) + fill params (binding 1).
texture_bind_group: BindGroupBind group 1: pattern texture (binding 0) + sampler (binding 1).
_pattern_texture: TextureRetained pattern texture (must outlive the bind group).
_pattern_texture_view: TextureViewRetained pattern texture view.
_fill_params_buffer: BufferRetained fill-params buffer.
Auto Trait Implementations§
impl Freeze for FillPatternBatchEntry
impl !RefUnwindSafe for FillPatternBatchEntry
impl Send for FillPatternBatchEntry
impl Sync for FillPatternBatchEntry
impl Unpin for FillPatternBatchEntry
impl UnsafeUnpin for FillPatternBatchEntry
impl !UnwindSafe for FillPatternBatchEntry
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