Trait objc2_metal::MTLTextureBinding

source ·
pub unsafe trait MTLTextureBinding: MTLBinding + IsRetainable {
    // Provided methods
    unsafe fn textureType(&self) -> MTLTextureType
       where Self: Sized + Message { ... }
    unsafe fn textureDataType(&self) -> MTLDataType
       where Self: Sized + Message { ... }
    unsafe fn isDepthTexture(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn arrayLength(&self) -> NSUInteger
       where Self: Sized + Message { ... }
}
Available on crate feature MTLArgument only.

Provided Methods§

source

unsafe fn textureType(&self) -> MTLTextureType
where Self: Sized + Message,

Available on crate feature MTLTexture only.
source

unsafe fn textureDataType(&self) -> MTLDataType
where Self: Sized + Message,

source

unsafe fn isDepthTexture(&self) -> bool
where Self: Sized + Message,

source

unsafe fn arrayLength(&self) -> NSUInteger
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn MTLTextureBinding

source§

const NAME: &'static str = "MTLTextureBinding"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn MTLTextureBinding

Implementations on Foreign Types§

source§

impl<T> MTLTextureBinding for ProtocolObject<T>

Implementors§