共用方式為


MTLRenderCommandEncoder_Extensions.DrawPatches 方法

定義

多載

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

參數

numberOfPatchControlPoints
System.System.UIntPtr System.unativeint
patchIndexBuffer
IMTLBuffer
patchIndexBufferOffset
System.System.UIntPtr System.unativeint
indirectBuffer
IMTLBuffer
indirectBufferOffset
System.System.UIntPtr System.unativeint
屬性

適用於

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

參數

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
屬性

適用於