[][src]Struct iron_oxide::MTLTexture

pub struct MTLTexture(_);

Implementations

impl MTLTexture[src]

pub unsafe fn replace_region(
    &self,
    region: MTLRegion,
    mipmap_level: NSUInteger,
    slice: NSUInteger,
    bytes: *const c_void,
    bytes_per_row: NSUInteger,
    bytes_per_image: NSUInteger
)
[src]

pub unsafe fn get_bytes(
    &self,
    to_write: *mut c_void,
    bytes_per_row: NSUInteger,
    bytes_per_image: NSUInteger,
    region: MTLRegion,
    mipmap_level: NSUInteger,
    slice: NSUInteger
)
[src]

pub unsafe fn new_texture_view_with_pixel_format(
    &self,
    format: MTLPixelFormat
) -> MTLTexture
[src]

pub unsafe fn new_texture_view_with_pixel_format_and_texture_type(
    &self,
    format: MTLPixelFormat,
    texture_type: MTLTextureType,
    levels: NSUIntegerRange,
    slices: NSUIntegerRange
) -> MTLTexture
[src]

Trait Implementations

impl DeviceCreated for MTLTexture[src]

impl Drop for MTLTexture[src]

impl MTLResource for MTLTexture[src]

impl Object for MTLTexture[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.