[][src]Struct iron_oxide::MTLTextureDescriptor

pub struct MTLTextureDescriptor(_);

Implementations

impl MTLTextureDescriptor[src]

pub unsafe fn new() -> MTLTextureDescriptor[src]

pub unsafe fn set_texture_type(&self, texture_type: MTLTextureType)[src]

pub unsafe fn set_pixel_format(&self, format: MTLPixelFormat)[src]

pub unsafe fn set_width(&self, width: NSUInteger)[src]

pub unsafe fn set_height(&self, height: NSUInteger)[src]

pub unsafe fn set_depth(&self, depth: NSUInteger)[src]

pub unsafe fn set_mipmap_level_count(&self, count: NSUInteger)[src]

pub unsafe fn set_sample_count(&self, count: NSUInteger)[src]

pub unsafe fn set_array_length(&self, length: NSUInteger)[src]

pub unsafe fn set_resource_options(&self, options: MTLResourceOptions)[src]

pub unsafe fn set_allow_gpu_optimized_contents(&self, allow: bool)[src]

pub unsafe fn set_usage(&self, usage: BitFlags<MTLTextureUsage>)[src]

Trait Implementations

impl Drop for MTLTextureDescriptor[src]

impl Object for MTLTextureDescriptor[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.