MTLRenderCommandEncoder_Extensions.DrawPrimitives Method

Definition

Overloads

DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, IMTLBuffer, nuint)

Draws a range of primitives.

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

Draws a range of primitives.

DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, IMTLBuffer, nuint)

Draws a range of primitives.

[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

Parameters

This
IMTLRenderCommandEncoder

The instance on which this method operates.

primitiveType
MTLPrimitiveType
indirectBuffer
IMTLBuffer
indirectBufferOffset
System.System.UIntPtr System.unativeint
Attributes

Applies to

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

Draws a range of primitives.

[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

Parameters

This
IMTLRenderCommandEncoder

The instance on which this method operates.

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
Attributes

Applies to