pub struct SDL_GPUTexture { /* private fields */ }Expand description
An opaque handle representing a texture.
§Availability
This struct is available since SDL 3.2.0.
§See also
SDL_CreateGPUTextureSDL_UploadToGPUTextureSDL_DownloadFromGPUTextureSDL_CopyGPUTextureToTextureSDL_BindGPUVertexSamplersSDL_BindGPUVertexStorageTexturesSDL_BindGPUFragmentSamplersSDL_BindGPUFragmentStorageTexturesSDL_BindGPUComputeStorageTexturesSDL_GenerateMipmapsForGPUTextureSDL_BlitGPUTextureSDL_ReleaseGPUTexture
Auto Trait Implementations§
impl Freeze for SDL_GPUTexture
impl RefUnwindSafe for SDL_GPUTexture
impl Send for SDL_GPUTexture
impl Sync for SDL_GPUTexture
impl Unpin for SDL_GPUTexture
impl UnwindSafe for SDL_GPUTexture
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