pub struct SharedTextureMemory { /* private fields */ }Implementations§
pub fn as_raw(&self) -> *mut WGPUSharedTextureMemoryImpl
pub fn set_label(&self, label: String)
pub fn get_properties( &self, properties: &mut SharedTextureMemoryProperties, ) -> Status
pub fn create_texture(&self, descriptor: Option<&TextureDescriptor>) -> Texture
pub fn begin_access( &self, texture: Texture, descriptor: &SharedTextureMemoryBeginAccessDescriptor, ) -> Status
pub fn end_access( &self, texture: Texture, descriptor: &mut SharedTextureMemoryEndAccessState, ) -> Status
pub fn is_device_lost(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
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