pub struct CopyPass { /* private fields */ }
Implementations§
Source§impl CopyPass
impl CopyPass
pub fn raw(&self) -> *mut SDL_GPUCopyPass
pub fn upload_to_gpu_buffer( &self, transfer_buf_location: TransferBufferLocation, buffer_region: BufferRegion, cycle: bool, )
pub fn upload_to_gpu_texture( &self, source: TextureTransferInfo, destination: TextureRegion, cycle: bool, )
Auto Trait Implementations§
impl Freeze for CopyPass
impl RefUnwindSafe for CopyPass
impl !Send for CopyPass
impl !Sync for CopyPass
impl Unpin for CopyPass
impl UnwindSafe for CopyPass
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