MTLAccelerationStructure

Trait MTLAccelerationStructure 

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

Provided Methods§

Source

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

Source

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

Available on crate feature MTLTypes only.

Handle of the GPU resource suitable for storing in an Argument Buffer

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. 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 MTLAccelerationStructure

Implementations on Foreign Types§

Source§

impl<T> MTLAccelerationStructure for ProtocolObject<T>

Implementors§