IMTLDevice.CreateRenderPipelineState 方法

定义

重载

CreateRenderPipelineState(MTLRenderPipelineDescriptor, NSError)
CreateRenderPipelineState(MTLRenderPipelineDescriptor, Action<IMTLRenderPipelineState,NSError>)
CreateRenderPipelineState(MTLRenderPipelineDescriptor, MTLPipelineOption, Action<IMTLRenderPipelineState,MTLRenderPipelineReflection,NSError>)
CreateRenderPipelineState(MTLRenderPipelineDescriptor, MTLPipelineOption, MTLRenderPipelineReflection, NSError)

CreateRenderPipelineState(MTLRenderPipelineDescriptor, NSError)

[Foundation.Export("newRenderPipelineStateWithDescriptor:error:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLRenderPipelineState CreateRenderPipelineState (Metal.MTLRenderPipelineDescriptor descriptor, out Foundation.NSError error);
abstract member CreateRenderPipelineState : Metal.MTLRenderPipelineDescriptor *  -> Metal.IMTLRenderPipelineState

参数

error
NSError

返回

属性

适用于

CreateRenderPipelineState(MTLRenderPipelineDescriptor, Action<IMTLRenderPipelineState,NSError>)

[Foundation.Export("newRenderPipelineStateWithDescriptor:completionHandler:")]
[Foundation.Preserve(Conditional=true)]
public void CreateRenderPipelineState (Metal.MTLRenderPipelineDescriptor descriptor, Action<Metal.IMTLRenderPipelineState,Foundation.NSError> completionHandler);
abstract member CreateRenderPipelineState : Metal.MTLRenderPipelineDescriptor * Action<Metal.IMTLRenderPipelineState, Foundation.NSError> -> unit

参数

属性

适用于

CreateRenderPipelineState(MTLRenderPipelineDescriptor, MTLPipelineOption, Action<IMTLRenderPipelineState,MTLRenderPipelineReflection,NSError>)

[Foundation.Export("newRenderPipelineStateWithDescriptor:options:completionHandler:")]
[Foundation.Preserve(Conditional=true)]
public void CreateRenderPipelineState (Metal.MTLRenderPipelineDescriptor descriptor, Metal.MTLPipelineOption options, Action<Metal.IMTLRenderPipelineState,Metal.MTLRenderPipelineReflection,Foundation.NSError> completionHandler);
abstract member CreateRenderPipelineState : Metal.MTLRenderPipelineDescriptor * Metal.MTLPipelineOption * Action<Metal.IMTLRenderPipelineState, Metal.MTLRenderPipelineReflection, Foundation.NSError> -> unit

参数

属性

适用于

CreateRenderPipelineState(MTLRenderPipelineDescriptor, MTLPipelineOption, MTLRenderPipelineReflection, NSError)

[Foundation.Export("newRenderPipelineStateWithDescriptor:options:reflection:error:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLRenderPipelineState CreateRenderPipelineState (Metal.MTLRenderPipelineDescriptor descriptor, Metal.MTLPipelineOption options, out Metal.MTLRenderPipelineReflection reflection, out Foundation.NSError error);
abstract member CreateRenderPipelineState : Metal.MTLRenderPipelineDescriptor * Metal.MTLPipelineOption *  *  -> Metal.IMTLRenderPipelineState

参数

error
NSError

返回

属性

适用于