pub struct StencilTableGpu { /* private fields */ }Available on crate feature
wgpu only.Expand description
GPU-resident CSR stencil table (row offsets, indices, weights).
Implementations§
Source§impl StencilTableGpu
impl StencilTableGpu
Sourcepub fn output_count(&self) -> u32
pub fn output_count(&self) -> u32
Number of output rows this table produces.
Trait Implementations§
Source§impl Debug for StencilTableGpu
impl Debug for StencilTableGpu
Source§impl<'a, 'b> From<(&'a Device, &'b StencilTable)> for StencilTableGpu
Upload a StencilTable into GPU storage buffers.
impl<'a, 'b> From<(&'a Device, &'b StencilTable)> for StencilTableGpu
Upload a StencilTable into GPU storage buffers.
Source§fn from((device, table): (&'a Device, &'b StencilTable)) -> Self
fn from((device, table): (&'a Device, &'b StencilTable)) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StencilTableGpu
impl !UnwindSafe for StencilTableGpu
impl Freeze for StencilTableGpu
impl Send for StencilTableGpu
impl Sync for StencilTableGpu
impl Unpin for StencilTableGpu
impl UnsafeUnpin for StencilTableGpu
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