Editar

Compartilhar via


IMTLRenderCommandEncoder.DrawPrimitives Method

Definition

Overloads

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

DrawPrimitives(MTLPrimitiveType, nuint, nuint)

[Foundation.Export("drawPrimitives:vertexStart:vertexCount:")]
[Foundation.Preserve(Conditional=true)]
public void DrawPrimitives (Metal.MTLPrimitiveType primitiveType, nuint vertexStart, nuint vertexCount);
abstract member DrawPrimitives : Metal.MTLPrimitiveType * nuint * nuint -> unit

Parameters

primitiveType
MTLPrimitiveType
vertexStart
System.System.UIntPtr System.unativeint
vertexCount
System.System.UIntPtr System.unativeint
Attributes

Applies to

DrawPrimitives(MTLPrimitiveType, nuint, nuint, nuint)

[Foundation.Export("drawPrimitives:vertexStart:vertexCount:instanceCount:")]
[Foundation.Preserve(Conditional=true)]
public void DrawPrimitives (Metal.MTLPrimitiveType primitiveType, nuint vertexStart, nuint vertexCount, nuint instanceCount);
abstract member DrawPrimitives : Metal.MTLPrimitiveType * nuint * nuint * nuint -> unit

Parameters

primitiveType
MTLPrimitiveType
vertexStart
System.System.UIntPtr System.unativeint
vertexCount
System.System.UIntPtr System.unativeint
instanceCount
System.System.UIntPtr System.unativeint
Attributes

Applies to