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
- 属性