編輯

共用方式為


IMTLLibrary Interface

Definition

System protocol for libraries of shaders.

[Foundation.Protocol(Name="MTLLibrary", WrapperType=typeof(Metal.MTLLibraryWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IMTLLibrary : IDisposable, ObjCRuntime.INativeObject
type IMTLLibrary = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Device
FunctionNames
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Label

Methods

CreateFunction(String)

Extension Methods

CreateFunction(IMTLLibrary, String, MTLFunctionConstantValues, NSError)
CreateFunction(IMTLLibrary, String, MTLFunctionConstantValues, Action<IMTLFunction,NSError>)

Applies to