IMTLDevice.CreateLibrary 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CreateLibrary(String, MTLCompileOptions, Action<IMTLLibrary,NSError>) | |
CreateLibrary(String, MTLCompileOptions, NSError) | |
CreateLibrary(NSObject, NSError) | |
CreateLibrary(String, NSError) |
CreateLibrary(String, MTLCompileOptions, Action<IMTLLibrary,NSError>)
[Foundation.Export("newLibraryWithSource:options:completionHandler:")]
[Foundation.Preserve(Conditional=true)]
public void CreateLibrary (string source, Metal.MTLCompileOptions options, Action<Metal.IMTLLibrary,Foundation.NSError> completionHandler);
abstract member CreateLibrary : string * Metal.MTLCompileOptions * Action<Metal.IMTLLibrary, Foundation.NSError> -> unit
参数
- source
- String
- options
- MTLCompileOptions
- completionHandler
- Action<IMTLLibrary,NSError>
- 属性
适用于
CreateLibrary(String, MTLCompileOptions, NSError)
[Foundation.Export("newLibraryWithSource:options:error:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLLibrary CreateLibrary (string source, Metal.MTLCompileOptions options, out Foundation.NSError error);
abstract member CreateLibrary : string * Metal.MTLCompileOptions * -> Metal.IMTLLibrary
参数
- source
- String
- options
- MTLCompileOptions
- error
- NSError
返回
- 属性
适用于
CreateLibrary(NSObject, NSError)
[Foundation.Export("newLibraryWithData:error:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLLibrary CreateLibrary (Foundation.NSObject data, out Foundation.NSError error);
abstract member CreateLibrary : Foundation.NSObject * -> Metal.IMTLLibrary
参数
- data
- NSObject
- error
- NSError
返回
- 属性