MTLRenderCommandEncoder_Extensions.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
DrawPatches(IMTLRenderCommandEncoder, nuint, IMTLBuffer, nuint, IMTLBuffer, nuint) | |
DrawPatches(IMTLRenderCommandEncoder, nuint, nuint, nuint, IMTLBuffer, nuint, nuint, nuint) |
DrawPatches(IMTLRenderCommandEncoder, nuint, IMTLBuffer, nuint, IMTLBuffer, nuint)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DrawPatches (this Metal.IMTLRenderCommandEncoder This, nuint numberOfPatchControlPoints, Metal.IMTLBuffer patchIndexBuffer, nuint patchIndexBufferOffset, Metal.IMTLBuffer indirectBuffer, nuint indirectBufferOffset);
static member DrawPatches : Metal.IMTLRenderCommandEncoder * nuint * Metal.IMTLBuffer * nuint * Metal.IMTLBuffer * nuint -> unit
Parameters
- numberOfPatchControlPoints
- System.System.UIntPtr System.unativeint
- patchIndexBuffer
- IMTLBuffer
- patchIndexBufferOffset
- System.System.UIntPtr System.unativeint
- indirectBuffer
- IMTLBuffer
- indirectBufferOffset
- System.System.UIntPtr System.unativeint
- Attributes
Applies to
DrawPatches(IMTLRenderCommandEncoder, nuint, nuint, nuint, IMTLBuffer, nuint, nuint, nuint)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DrawPatches (this Metal.IMTLRenderCommandEncoder This, nuint numberOfPatchControlPoints, nuint patchStart, nuint patchCount, Metal.IMTLBuffer patchIndexBuffer, nuint patchIndexBufferOffset, nuint instanceCount, nuint baseInstance);
static member DrawPatches : Metal.IMTLRenderCommandEncoder * nuint * nuint * nuint * Metal.IMTLBuffer * nuint * nuint * nuint -> unit
Parameters
- numberOfPatchControlPoints
- System.System.UIntPtr System.unativeint
- patchStart
- System.System.UIntPtr System.unativeint
- patchCount
- System.System.UIntPtr System.unativeint
- patchIndexBuffer
- IMTLBuffer
- patchIndexBufferOffset
- System.System.UIntPtr System.unativeint
- instanceCount
- System.System.UIntPtr System.unativeint
- baseInstance
- System.System.UIntPtr System.unativeint
- Attributes