MPSCommandBuffer.Create 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
| Name | Description |
|---|---|
| Create(IMTLCommandBuffer) | |
| Create(IMTLCommandQueue) |
Create(IMTLCommandBuffer)
[Foundation.Export("commandBufferWithCommandBuffer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSCommandBuffer Create(Metal.IMTLCommandBuffer commandBuffer);
[<Foundation.Export("commandBufferWithCommandBuffer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Metal.IMTLCommandBuffer -> MetalPerformanceShaders.MPSCommandBuffer
Parameters
- commandBuffer
- IMTLCommandBuffer
Returns
- Attributes
Applies to
Create(IMTLCommandQueue)
[Foundation.Export("commandBufferFromCommandQueue:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSCommandBuffer Create(Metal.IMTLCommandQueue commandQueue);
[<Foundation.Export("commandBufferFromCommandQueue:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Metal.IMTLCommandQueue -> MetalPerformanceShaders.MPSCommandBuffer
Parameters
- commandQueue
- IMTLCommandQueue
Returns
- Attributes