MTLRenderCommandEncoder_Extensions.DrawPrimitives 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, IMTLBuffer, nuint) |
绘制一系列基元。 |
DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, nuint, nuint, nuint, nuint) |
绘制一系列基元。 |
DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, IMTLBuffer, nuint)
绘制一系列基元。
[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
参数
此方法在其上运行的实例。
- primitiveType
- MTLPrimitiveType
- indirectBuffer
- IMTLBuffer
- indirectBufferOffset
- System.System.UIntPtr System.unativeint
- 属性
适用于
DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, nuint, nuint, nuint, nuint)
绘制一系列基元。
[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
参数
此方法在其上运行的实例。
- 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
- 属性