MTLRenderCommandEncoder_Extensions.DrawPrimitives Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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