MTLDevice_Extensions.CreateComputePipelineState 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CreateComputePipelineState(IMTLDevice, MTLComputePipelineDescriptor, MTLPipelineOption, MTLNewComputePipelineStateWithReflectionCompletionHandler) |
从指定的计算管道描述符、选项和完成处理程序创建新的管道状态。 |
CreateComputePipelineState(IMTLDevice, MTLComputePipelineDescriptor, MTLPipelineOption, MTLComputePipelineReflection, NSError) |
从指定的计算管道描述符、选项和完成处理程序创建新的管道状态,并将反射信息存储在 参数中 |
CreateComputePipelineState(IMTLDevice, MTLComputePipelineDescriptor, MTLPipelineOption, MTLNewComputePipelineStateWithReflectionCompletionHandler)
从指定的计算管道描述符、选项和完成处理程序创建新的管道状态。
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void CreateComputePipelineState (this Metal.IMTLDevice This, Metal.MTLComputePipelineDescriptor descriptor, Metal.MTLPipelineOption options, Metal.MTLNewComputePipelineStateWithReflectionCompletionHandler completionHandler);
static member CreateComputePipelineState : Metal.IMTLDevice * Metal.MTLComputePipelineDescriptor * Metal.MTLPipelineOption * Metal.MTLNewComputePipelineStateWithReflectionCompletionHandler -> unit
参数
- This
- IMTLDevice
此方法在其上运行的实例。
- descriptor
- MTLComputePipelineDescriptor
- options
- MTLPipelineOption
- completionHandler
- MTLNewComputePipelineStateWithReflectionCompletionHandler
- 属性
适用于
CreateComputePipelineState(IMTLDevice, MTLComputePipelineDescriptor, MTLPipelineOption, MTLComputePipelineReflection, NSError)
从指定的计算管道描述符、选项和完成处理程序创建新的管道状态,并将反射信息存储在 参数中 reflection
out
。
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.IMTLComputePipelineState CreateComputePipelineState (this Metal.IMTLDevice This, Metal.MTLComputePipelineDescriptor descriptor, Metal.MTLPipelineOption options, out Metal.MTLComputePipelineReflection reflection, out Foundation.NSError error);
static member CreateComputePipelineState : Metal.IMTLDevice * Metal.MTLComputePipelineDescriptor * Metal.MTLPipelineOption * * -> Metal.IMTLComputePipelineState
参数
- This
- IMTLDevice
此方法在其上运行的实例。
- descriptor
- MTLComputePipelineDescriptor
- options
- MTLPipelineOption
- reflection
- MTLComputePipelineReflection
- error
- NSError
返回
- 属性