IMTLDevice.CreateComputePipelineState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateComputePipelineState(IMTLFunction, NSError)
[Foundation.Export("newComputePipelineStateWithFunction:error:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLComputePipelineState CreateComputePipelineState (Metal.IMTLFunction computeFunction, out Foundation.NSError error);
abstract member CreateComputePipelineState : Metal.IMTLFunction * -> Metal.IMTLComputePipelineState
Parameters
- computeFunction
- IMTLFunction
- error
- NSError
Returns
- Attributes
Applies to
CreateComputePipelineState(IMTLFunction, Action<IMTLComputePipelineState,NSError>)
[Foundation.Export("newComputePipelineStateWithFunction:completionHandler:")]
[Foundation.Preserve(Conditional=true)]
public void CreateComputePipelineState (Metal.IMTLFunction computeFunction, Action<Metal.IMTLComputePipelineState,Foundation.NSError> completionHandler);
abstract member CreateComputePipelineState : Metal.IMTLFunction * Action<Metal.IMTLComputePipelineState, Foundation.NSError> -> unit
Parameters
- computeFunction
- IMTLFunction
- completionHandler
- Action<IMTLComputePipelineState,NSError>
- Attributes
Applies to
CreateComputePipelineState(IMTLFunction, MTLPipelineOption, Action<IMTLComputePipelineState,MTLComputePipelineReflection,NSError>)
[Foundation.Export("newComputePipelineStateWithFunction:options:completionHandler:")]
[Foundation.Preserve(Conditional=true)]
public void CreateComputePipelineState (Metal.IMTLFunction computeFunction, Metal.MTLPipelineOption options, Action<Metal.IMTLComputePipelineState,Metal.MTLComputePipelineReflection,Foundation.NSError> completionHandler);
abstract member CreateComputePipelineState : Metal.IMTLFunction * Metal.MTLPipelineOption * Action<Metal.IMTLComputePipelineState, Metal.MTLComputePipelineReflection, Foundation.NSError> -> unit
Parameters
- computeFunction
- IMTLFunction
- options
- MTLPipelineOption
- completionHandler
- Action<IMTLComputePipelineState,MTLComputePipelineReflection,NSError>
- Attributes
Applies to
CreateComputePipelineState(IMTLFunction, MTLPipelineOption, MTLComputePipelineReflection, NSError)
[Foundation.Export("newComputePipelineStateWithFunction:options:reflection:error:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLComputePipelineState CreateComputePipelineState (Metal.IMTLFunction computeFunction, Metal.MTLPipelineOption options, out Metal.MTLComputePipelineReflection reflection, out Foundation.NSError error);
abstract member CreateComputePipelineState : Metal.IMTLFunction * Metal.MTLPipelineOption * * -> Metal.IMTLComputePipelineState
Parameters
- computeFunction
- IMTLFunction
- options
- MTLPipelineOption
- reflection
- MTLComputePipelineReflection
- error
- NSError
Returns
- Attributes