MTLRenderCommandEncoder_Extensions.DrawIndexedPrimitives 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
DrawIndexedPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, MTLIndexType, IMTLBuffer, nuint, IMTLBuffer, nuint)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DrawIndexedPrimitives (this Metal.IMTLRenderCommandEncoder This, Metal.MTLPrimitiveType primitiveType, Metal.MTLIndexType indexType, Metal.IMTLBuffer indexBuffer, nuint indexBufferOffset, Metal.IMTLBuffer indirectBuffer, nuint indirectBufferOffset);
static member DrawIndexedPrimitives : Metal.IMTLRenderCommandEncoder * Metal.MTLPrimitiveType * Metal.MTLIndexType * Metal.IMTLBuffer * nuint * Metal.IMTLBuffer * nuint -> unit
Parameters
- primitiveType
- MTLPrimitiveType
- indexType
- MTLIndexType
- indexBuffer
- IMTLBuffer
- indexBufferOffset
- System.System.UIntPtr System.unativeint
- indirectBuffer
- IMTLBuffer
- indirectBufferOffset
- System.System.UIntPtr System.unativeint
- Attributes
Applies to
DrawIndexedPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, nuint, MTLIndexType, IMTLBuffer, nuint, nuint, nint, nuint)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DrawIndexedPrimitives (this Metal.IMTLRenderCommandEncoder This, Metal.MTLPrimitiveType primitiveType, nuint indexCount, Metal.MTLIndexType indexType, Metal.IMTLBuffer indexBuffer, nuint indexBufferOffset, nuint instanceCount, nint baseVertex, nuint baseInstance);
static member DrawIndexedPrimitives : Metal.IMTLRenderCommandEncoder * Metal.MTLPrimitiveType * nuint * Metal.MTLIndexType * Metal.IMTLBuffer * nuint * nuint * nint * nuint -> unit
Parameters
- primitiveType
- MTLPrimitiveType
- indexCount
- System.System.UIntPtr System.unativeint
- indexType
- MTLIndexType
- indexBuffer
- IMTLBuffer
- indexBufferOffset
- System.System.UIntPtr System.unativeint
- instanceCount
- System.System.UIntPtr System.unativeint
- baseVertex
- System.System.IntPtr System.nativeint
- baseInstance
- System.System.UIntPtr System.unativeint
- Attributes