IMTLRenderCommandEncoder.DrawPatches 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 |
|---|---|
| DrawPatches(UIntPtr, IMTLBuffer, UIntPtr, IMTLBuffer, UIntPtr) | |
| DrawPatches(UIntPtr, UIntPtr, UIntPtr, IMTLBuffer, UIntPtr, UIntPtr, UIntPtr) |
DrawPatches(UIntPtr, IMTLBuffer, UIntPtr, IMTLBuffer, UIntPtr)
[Foundation.Export("drawPatches:patchIndexBuffer:patchIndexBufferOffset:indirectBuffer:indirectBufferOffset:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DrawPatches(UIntPtr numberOfPatchControlPoints, Metal.IMTLBuffer? patchIndexBuffer, UIntPtr patchIndexBufferOffset, Metal.IMTLBuffer indirectBuffer, UIntPtr indirectBufferOffset);
[<Foundation.Export("drawPatches:patchIndexBuffer:patchIndexBufferOffset:indirectBuffer:indirectBufferOffset:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DrawPatches : unativeint * Metal.IMTLBuffer * unativeint * Metal.IMTLBuffer * unativeint -> unit
override this.DrawPatches : unativeint * Metal.IMTLBuffer * unativeint * Metal.IMTLBuffer * unativeint -> unit
Parameters
- numberOfPatchControlPoints
-
UIntPtr
unativeint
- patchIndexBuffer
- IMTLBuffer
- patchIndexBufferOffset
-
UIntPtr
unativeint
- indirectBuffer
- IMTLBuffer
- indirectBufferOffset
-
UIntPtr
unativeint
- Attributes
Applies to
DrawPatches(UIntPtr, UIntPtr, UIntPtr, IMTLBuffer, UIntPtr, UIntPtr, UIntPtr)
[Foundation.Export("drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DrawPatches(UIntPtr numberOfPatchControlPoints, UIntPtr patchStart, UIntPtr patchCount, Metal.IMTLBuffer? patchIndexBuffer, UIntPtr patchIndexBufferOffset, UIntPtr instanceCount, UIntPtr baseInstance);
[<Foundation.Export("drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DrawPatches : unativeint * unativeint * unativeint * Metal.IMTLBuffer * unativeint * unativeint * unativeint -> unit
override this.DrawPatches : unativeint * unativeint * unativeint * Metal.IMTLBuffer * unativeint * unativeint * unativeint -> unit
Parameters
- numberOfPatchControlPoints
-
UIntPtr
unativeint
- patchStart
-
UIntPtr
unativeint
- patchCount
-
UIntPtr
unativeint
- patchIndexBuffer
- IMTLBuffer
- patchIndexBufferOffset
-
UIntPtr
unativeint
- instanceCount
-
UIntPtr
unativeint
- baseInstance
-
UIntPtr
unativeint
- Attributes