MTLRenderCommandEncoder_Extensions.DrawPrimitives 方法

定义

重载

DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, IMTLBuffer, nuint)

绘制一系列基元。

DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, nuint, nuint, nuint, nuint)

绘制一系列基元。

DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, IMTLBuffer, nuint)

绘制一系列基元。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DrawPrimitives (this Metal.IMTLRenderCommandEncoder This, Metal.MTLPrimitiveType primitiveType, Metal.IMTLBuffer indirectBuffer, nuint indirectBufferOffset);
static member DrawPrimitives : Metal.IMTLRenderCommandEncoder * Metal.MTLPrimitiveType * Metal.IMTLBuffer * nuint -> unit

参数

This
IMTLRenderCommandEncoder

此方法在其上运行的实例。

primitiveType
MTLPrimitiveType
indirectBuffer
IMTLBuffer
indirectBufferOffset
System.System.UIntPtr System.unativeint
属性

适用于

DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, nuint, nuint, nuint, nuint)

绘制一系列基元。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DrawPrimitives (this Metal.IMTLRenderCommandEncoder This, Metal.MTLPrimitiveType primitiveType, nuint vertexStart, nuint vertexCount, nuint instanceCount, nuint baseInstance);
static member DrawPrimitives : Metal.IMTLRenderCommandEncoder * Metal.MTLPrimitiveType * nuint * nuint * nuint * nuint -> unit

参数

This
IMTLRenderCommandEncoder

此方法在其上运行的实例。

primitiveType
MTLPrimitiveType
vertexStart
System.System.UIntPtr System.unativeint
vertexCount
System.System.UIntPtr System.unativeint
instanceCount
System.System.UIntPtr System.unativeint
baseInstance
System.System.UIntPtr System.unativeint
属性

适用于