pub struct NativeGpuRingSlot { /* private fields */ }Expand description
One hardware-fenced staging buffer slot inside NativeGpuDriver’s triple-buffered GPU ring.
Implementations§
Source§impl NativeGpuRingSlot
impl NativeGpuRingSlot
pub fn get_buffer_handle(&self) -> usize
pub fn get_mut_buffer_handle(&mut self) -> &mut usize
pub fn set_buffer_handle(&mut self, val: usize) -> &mut Self
pub fn get_contents_ptr(&self) -> usize
pub fn get_mut_contents_ptr(&mut self) -> &mut usize
pub fn set_contents_ptr(&mut self, val: usize) -> &mut Self
pub fn get_capacity_bytes(&self) -> usize
pub fn get_mut_capacity_bytes(&mut self) -> &mut usize
pub fn set_capacity_bytes(&mut self, val: usize) -> &mut Self
pub fn get_in_flight_cmd_buffer(&self) -> usize
pub fn get_mut_in_flight_cmd_buffer(&mut self) -> &mut usize
pub fn set_in_flight_cmd_buffer(&mut self, val: usize) -> &mut Self
Trait Implementations§
Source§impl Clone for NativeGpuRingSlot
impl Clone for NativeGpuRingSlot
impl Copy for NativeGpuRingSlot
Source§impl Debug for NativeGpuRingSlot
impl Debug for NativeGpuRingSlot
Source§impl Default for NativeGpuRingSlot
impl Default for NativeGpuRingSlot
impl Eq for NativeGpuRingSlot
Source§impl PartialEq for NativeGpuRingSlot
impl PartialEq for NativeGpuRingSlot
impl StructuralPartialEq for NativeGpuRingSlot
Auto Trait Implementations§
impl Forget for NativeGpuRingSlot
impl Freeze for NativeGpuRingSlot
impl Move for NativeGpuRingSlot
impl RefUnwindSafe for NativeGpuRingSlot
impl Send for NativeGpuRingSlot
impl Sync for NativeGpuRingSlot
impl Unpin for NativeGpuRingSlot
impl UnsafeUnpin for NativeGpuRingSlot
impl UnwindSafe for NativeGpuRingSlot
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