pub struct MTLTexture(/* private fields */);Implementations§
Source§impl MTLTexture
impl MTLTexture
pub unsafe fn replace_region_mipmap_level_slice_with_bytes_bytes_per_row_bytes_per_image( &self, region: MTLRegion, mipmap_level: NSUInteger, slice: NSUInteger, bytes: *const c_void, bytes_per_row: NSUInteger, bytes_per_image: NSUInteger, )
pub unsafe fn width(&self) -> NSUInteger
pub unsafe fn height(&self) -> NSUInteger
pub unsafe fn replace_region_mipmap_level_with_bytes_bytes_per_row( &self, region: MTLRegion, mipmap_level: NSUInteger, bytes: *const c_void, bytes_per_row: NSUInteger, )
pub unsafe fn get_bytes_bytes_per_row_from_region_mipmap_level( &self, bytes: *const c_void, bytes_per_row: NSUInteger, region: MTLRegion, level: NSUInteger, )
Trait Implementations§
Source§impl Message for MTLTexture
impl Message for MTLTexture
Source§unsafe fn send_message<A, R>(
&self,
sel: Sel,
args: A,
) -> Result<R, MessageError>
unsafe fn send_message<A, R>( &self, sel: Sel, args: A, ) -> Result<R, MessageError>
Sends a message to self with the given selector and arguments. Read more
Source§fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
Verifies that the argument and return types match the encoding of the
method for the given selector. Read more
Auto Trait Implementations§
impl Freeze for MTLTexture
impl RefUnwindSafe for MTLTexture
impl Send for MTLTexture
impl Sync for MTLTexture
impl Unpin for MTLTexture
impl UnwindSafe for MTLTexture
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