IMTLRenderCommandEncoder.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(MTLPrimitiveType, UIntPtr, MTLIndexType, IMTLBuffer, UIntPtr)
[Foundation.Export("drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DrawIndexedPrimitives(Metal.MTLPrimitiveType primitiveType, UIntPtr indexCount, Metal.MTLIndexType indexType, Metal.IMTLBuffer indexBuffer, UIntPtr indexBufferOffset);
[<Foundation.Export("drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DrawIndexedPrimitives : Metal.MTLPrimitiveType * unativeint * Metal.MTLIndexType * Metal.IMTLBuffer * unativeint -> unit
override this.DrawIndexedPrimitives : Metal.MTLPrimitiveType * unativeint * Metal.MTLIndexType * Metal.IMTLBuffer * unativeint -> unit
Parameters
- primitiveType
- MTLPrimitiveType
- indexCount
-
UIntPtr
unativeint
- indexType
- MTLIndexType
- indexBuffer
- IMTLBuffer
- indexBufferOffset
-
UIntPtr
unativeint
- Attributes
Applies to
DrawIndexedPrimitives(MTLPrimitiveType, MTLIndexType, IMTLBuffer, UIntPtr, IMTLBuffer, UIntPtr)
[Foundation.Export("drawIndexedPrimitives:indexType:indexBuffer:indexBufferOffset:indirectBuffer:indirectBufferOffset:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DrawIndexedPrimitives(Metal.MTLPrimitiveType primitiveType, Metal.MTLIndexType indexType, Metal.IMTLBuffer indexBuffer, UIntPtr indexBufferOffset, Metal.IMTLBuffer indirectBuffer, UIntPtr indirectBufferOffset);
[<Foundation.Export("drawIndexedPrimitives:indexType:indexBuffer:indexBufferOffset:indirectBuffer:indirectBufferOffset:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DrawIndexedPrimitives : Metal.MTLPrimitiveType * Metal.MTLIndexType * Metal.IMTLBuffer * unativeint * Metal.IMTLBuffer * unativeint -> unit
override this.DrawIndexedPrimitives : Metal.MTLPrimitiveType * Metal.MTLIndexType * Metal.IMTLBuffer * unativeint * Metal.IMTLBuffer * unativeint -> unit
Parameters
- primitiveType
- MTLPrimitiveType
- indexType
- MTLIndexType
- indexBuffer
- IMTLBuffer
- indexBufferOffset
-
UIntPtr
unativeint
- indirectBuffer
- IMTLBuffer
- indirectBufferOffset
-
UIntPtr
unativeint
- Attributes
Applies to
DrawIndexedPrimitives(MTLPrimitiveType, UIntPtr, MTLIndexType, IMTLBuffer, UIntPtr, UIntPtr)
[Foundation.Export("drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DrawIndexedPrimitives(Metal.MTLPrimitiveType primitiveType, UIntPtr indexCount, Metal.MTLIndexType indexType, Metal.IMTLBuffer indexBuffer, UIntPtr indexBufferOffset, UIntPtr instanceCount);
[<Foundation.Export("drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DrawIndexedPrimitives : Metal.MTLPrimitiveType * unativeint * Metal.MTLIndexType * Metal.IMTLBuffer * unativeint * unativeint -> unit
override this.DrawIndexedPrimitives : Metal.MTLPrimitiveType * unativeint * Metal.MTLIndexType * Metal.IMTLBuffer * unativeint * unativeint -> unit
Parameters
- primitiveType
- MTLPrimitiveType
- indexCount
-
UIntPtr
unativeint
- indexType
- MTLIndexType
- indexBuffer
- IMTLBuffer
- indexBufferOffset
-
UIntPtr
unativeint
- instanceCount
-
UIntPtr
unativeint
- Attributes
Applies to
DrawIndexedPrimitives(MTLPrimitiveType, UIntPtr, MTLIndexType, IMTLBuffer, UIntPtr, UIntPtr, IntPtr, UIntPtr)
[Foundation.Export("drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DrawIndexedPrimitives(Metal.MTLPrimitiveType primitiveType, UIntPtr indexCount, Metal.MTLIndexType indexType, Metal.IMTLBuffer indexBuffer, UIntPtr indexBufferOffset, UIntPtr instanceCount, IntPtr baseVertex, UIntPtr baseInstance);
[<Foundation.Export("drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DrawIndexedPrimitives : Metal.MTLPrimitiveType * unativeint * Metal.MTLIndexType * Metal.IMTLBuffer * unativeint * unativeint * nativeint * unativeint -> unit
override this.DrawIndexedPrimitives : Metal.MTLPrimitiveType * unativeint * Metal.MTLIndexType * Metal.IMTLBuffer * unativeint * unativeint * nativeint * unativeint -> unit
Parameters
- primitiveType
- MTLPrimitiveType
- indexCount
-
UIntPtr
unativeint
- indexType
- MTLIndexType
- indexBuffer
- IMTLBuffer
- indexBufferOffset
-
UIntPtr
unativeint
- instanceCount
-
UIntPtr
unativeint
- baseVertex
-
IntPtr
nativeint
- baseInstance
-
UIntPtr
unativeint
- Attributes