Trait objc2_metal::MTLVisibleFunctionTable
source · pub unsafe trait MTLVisibleFunctionTable: MTLResource + IsRetainable {
// Provided methods
unsafe fn gpuResourceID(&self) -> MTLResourceID
where Self: Sized + Message { ... }
unsafe fn setFunction_atIndex(
&self,
function: Option<&ProtocolObject<dyn MTLFunctionHandle>>,
index: NSUInteger
)
where Self: Sized + Message { ... }
unsafe fn setFunctions_withRange(
&self,
functions: NonNull<*const ProtocolObject<dyn MTLFunctionHandle>>,
range: NSRange
)
where Self: Sized + Message { ... }
}Available on crate features
MTLResource and MTLVisibleFunctionTable only.Provided Methods§
unsafe fn gpuResourceID(&self) -> MTLResourceID
Available on crate feature
MTLTypes only.unsafe fn setFunction_atIndex( &self, function: Option<&ProtocolObject<dyn MTLFunctionHandle>>, index: NSUInteger )
Available on crate feature
MTLFunctionHandle only.unsafe fn setFunctions_withRange( &self, functions: NonNull<*const ProtocolObject<dyn MTLFunctionHandle>>, range: NSRange )
Available on crate feature
MTLFunctionHandle only.