MTLRenderCommandEncoder_Extensions.DrawIndexedPrimitives 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- primitiveType
- MTLPrimitiveType
- indexType
- MTLIndexType
- indexBuffer
- IMTLBuffer
- indexBufferOffset
- System.System.UIntPtr System.unativeint
- indirectBuffer
- IMTLBuffer
- indirectBufferOffset
- System.System.UIntPtr System.unativeint
- 屬性
適用於
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
參數
- 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
- 屬性