pub struct ScalarFieldTexture { /* private fields */ }Expand description
Renderer-owned scalar texture retaining its validated source field.
Implementations§
Source§impl ScalarFieldTexture
impl ScalarFieldTexture
Sourcepub fn field(&self) -> &ScalarField
pub fn field(&self) -> &ScalarField
Returns retained CPU scalar data used for recovery and uploads.
Sourcepub fn recovery_memory_bytes(&self) -> usize
pub fn recovery_memory_bytes(&self) -> usize
Returns retained CPU scalar bytes used for device-loss recovery.
Sourcepub fn gpu_allocation_bytes(&self) -> usize
pub fn gpu_allocation_bytes(&self) -> usize
Returns nominal R32Float texel-storage bytes requested from the GPU,
excluding backend row/tile/page alignment and metadata.
Auto Trait Implementations§
impl !RefUnwindSafe for ScalarFieldTexture
impl !UnwindSafe for ScalarFieldTexture
impl Freeze for ScalarFieldTexture
impl Send for ScalarFieldTexture
impl Sync for ScalarFieldTexture
impl Unpin for ScalarFieldTexture
impl UnsafeUnpin for ScalarFieldTexture
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