Trait objc2_metal::MTLAccelerationStructure

source ·
pub unsafe trait MTLAccelerationStructure: MTLResource + IsRetainable {
    // Provided methods
    unsafe fn size(&self) -> NSUInteger
       where Self: Sized + Message { ... }
    unsafe fn gpuResourceID(&self) -> MTLResourceID
       where Self: Sized + Message { ... }
}
Available on crate features MTLAccelerationStructure and MTLResource only.

Provided Methods§

source

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

source

unsafe fn gpuResourceID(&self) -> MTLResourceID
where Self: Sized + Message,

Available on crate feature MTLTypes only.

Trait Implementations§

source§

impl ProtocolType for dyn MTLAccelerationStructure

source§

const NAME: &'static str = "MTLAccelerationStructure"

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 MTLAccelerationStructure

Implementations on Foreign Types§

source§

impl<T> MTLAccelerationStructure for ProtocolObject<T>

Implementors§