SwiftfuncRealityFoundationRealityFoundation.TextureLoaderProtocol
loadTexture
method descriptor for RealityFoundation.TextureLoaderProtocol.loadTexture(name: String, bundle: NSBundle?, options: RealityKit.TextureResource.CreateOptions, completionHandler: (Result<MTLTexture, Error>) -> ()) -> ()
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0name:structSwift.String
- 1bundle:enumSwift.Optional
- 2options:
- 3completionHandler:function
(Result<MTLTexture, Error>) -> ()escaping- argexistential
MTLTexture - argexistential
Error
- returnstuple
()