MTLDevice_Extensions.CreateRenderPipelineState 方法

定义

重载

CreateRenderPipelineState(IMTLDevice, MTLTileRenderPipelineDescriptor, MTLPipelineOption, MTLNewRenderPipelineStateWithReflectionCompletionHandler)
CreateRenderPipelineState(IMTLDevice, MTLTileRenderPipelineDescriptor, MTLPipelineOption, MTLRenderPipelineReflection, NSError)

CreateRenderPipelineState(IMTLDevice, MTLTileRenderPipelineDescriptor, MTLPipelineOption, MTLNewRenderPipelineStateWithReflectionCompletionHandler)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void CreateRenderPipelineState (this Metal.IMTLDevice This, Metal.MTLTileRenderPipelineDescriptor descriptor, Metal.MTLPipelineOption options, Metal.MTLNewRenderPipelineStateWithReflectionCompletionHandler completionHandler);
static member CreateRenderPipelineState : Metal.IMTLDevice * Metal.MTLTileRenderPipelineDescriptor * Metal.MTLPipelineOption * Metal.MTLNewRenderPipelineStateWithReflectionCompletionHandler -> unit

参数

This
IMTLDevice

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

属性

适用于

CreateRenderPipelineState(IMTLDevice, MTLTileRenderPipelineDescriptor, MTLPipelineOption, MTLRenderPipelineReflection, NSError)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.IMTLRenderPipelineState CreateRenderPipelineState (this Metal.IMTLDevice This, Metal.MTLTileRenderPipelineDescriptor descriptor, Metal.MTLPipelineOption options, out Metal.MTLRenderPipelineReflection reflection, out Foundation.NSError error);
static member CreateRenderPipelineState : Metal.IMTLDevice * Metal.MTLTileRenderPipelineDescriptor * Metal.MTLPipelineOption *  *  -> Metal.IMTLRenderPipelineState

参数

This
IMTLDevice

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

error
NSError

返回

属性

适用于