MTLDevice_Extensions.CreateRenderPipelineState 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
此方法在其上运行的实例。
- descriptor
- MTLTileRenderPipelineDescriptor
- options
- MTLPipelineOption
- completionHandler
- MTLNewRenderPipelineStateWithReflectionCompletionHandler
- 属性
适用于
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
此方法在其上运行的实例。
- descriptor
- MTLTileRenderPipelineDescriptor
- options
- MTLPipelineOption
- reflection
- MTLRenderPipelineReflection
- error
- NSError
返回
- 属性