[−][src]Struct iron_oxide::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]
unsafe fn from_ptr(ptr: ObjectPointer) -> Self where
Self: Sized,
[src]
Self: Sized,
fn get_ptr(&self) -> ObjectPointer
[src]
Auto Trait Implementations
impl RefUnwindSafe for MTLTextureDescriptor
impl !Send for MTLTextureDescriptor
impl !Sync for MTLTextureDescriptor
impl Unpin for MTLTextureDescriptor
impl UnwindSafe for MTLTextureDescriptor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,