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