OpenGLDrawElements 方法 (UInt32, Int32, UInt32) |
Render primitives from array data.
命名空间:
DSkin.OpenGL
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public void DrawElements(
uint mode,
int count,
uint[] indices
)
参数
- 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. - count
- 类型:SystemInt32
Specifies the number of elements to be rendered. - indices
- 类型:SystemUInt32
Specifies a pointer to the location where the indices are stored.
参见