MTLTextureBinding

Trait MTLTextureBinding 

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

Provided Methods§

Source

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

Available on crate feature MTLTexture only.
Source

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

Available on crate feature MTLDataType only.
Source

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

Source

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. Read more
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§