[][src]Trait iron_oxide::MTLResource

pub trait MTLResource: Object + DeviceCreated {
    unsafe fn get_cpu_cache_mode(&self) -> MTLCPUCacheMode { ... }
unsafe fn get_storage_mode(&self) -> MTLStorageMode { ... }
unsafe fn get_resource_options(&self) -> MTLResourceOptions { ... }
unsafe fn set_purgeable_state(
        &self,
        state: MTLPurgeableState
    ) -> MTLPurgeableState { ... }
unsafe fn get_allocated_size(&self) -> NSUInteger { ... } }

Provided methods

unsafe fn get_cpu_cache_mode(&self) -> MTLCPUCacheMode

unsafe fn get_storage_mode(&self) -> MTLStorageMode

unsafe fn get_resource_options(&self) -> MTLResourceOptions

unsafe fn set_purgeable_state(
    &self,
    state: MTLPurgeableState
) -> MTLPurgeableState

unsafe fn get_allocated_size(&self) -> NSUInteger

Loading content...

Implementors

impl MTLResource for MTLBuffer[src]

impl MTLResource for MTLTexture[src]

Loading content...