Render primitives from array data.
命名空间:
DSkin.OpenGL
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public void DrawArrays(
uint mode,
int first,
int count
)
参数
- mode
- 类型:SystemUInt32
Specifies what kind of primitives to render. Symbolic constants OpenGL.POINTS, OpenGL.LINE_STRIP, OpenGL.LINE_LOOP, OpenGL.LINES, OpenGL.TRIANGLE_STRIP, OpenGL.TRIANGLE_FAN, OpenGL.TRIANGLES, OpenGL.QUAD_STRIP, OpenGL.QUADS, and OpenGL.POLYGON are accepted. - first
- 类型:SystemInt32
Specifies the starting index in the enabled arrays. - count
- 类型:SystemInt32
Specifies the number of indices to be rendered.
参见