共用方式為


IMTLIndirectRenderCommand.DrawPatches 方法

定義

[Foundation.Export("drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:")]
[Foundation.Preserve(Conditional=true)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public void DrawPatches (nuint numberOfPatchControlPoints, nuint patchStart, nuint patchCount, Metal.IMTLBuffer patchIndexBuffer, nuint patchIndexBufferOffset, nuint instanceCount, nuint baseInstance, Metal.IMTLBuffer buffer, nuint offset, nuint instanceStride);
abstract member DrawPatches : nuint * nuint * nuint * Metal.IMTLBuffer * nuint * nuint * nuint * Metal.IMTLBuffer * 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
buffer
IMTLBuffer
offset
System.System.UIntPtr System.unativeint
instanceStride
System.System.UIntPtr System.unativeint
屬性

適用於