MTLDevice_Extensions.CreateComputePipelineState 方法

定义

重载

CreateComputePipelineState(IMTLDevice, MTLComputePipelineDescriptor, MTLPipelineOption, MTLNewComputePipelineStateWithReflectionCompletionHandler)

从指定的计算管道描述符、选项和完成处理程序创建新的管道状态。

CreateComputePipelineState(IMTLDevice, MTLComputePipelineDescriptor, MTLPipelineOption, MTLComputePipelineReflection, NSError)

从指定的计算管道描述符、选项和完成处理程序创建新的管道状态,并将反射信息存储在 参数中 reflectionout

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

此方法在其上运行的实例。

属性

适用于

CreateComputePipelineState(IMTLDevice, MTLComputePipelineDescriptor, MTLPipelineOption, MTLComputePipelineReflection, NSError)

从指定的计算管道描述符、选项和完成处理程序创建新的管道状态,并将反射信息存储在 参数中 reflectionout

[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

此方法在其上运行的实例。

error
NSError

返回

属性

适用于