Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Last active July 28, 2017 08:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kjunichi/5492888 to your computer and use it in GitHub Desktop.
Save kjunichi/5492888 to your computer and use it in GitHub Desktop.

関連記事

glDrawArrays

  • GL_POINTS
  • GL_LINE_STRIP
  • GL_LINE_LOOP
  • GL_LINES
  • GL_LINE_STRIP_ADJACENCY
  • GL_LINES_ADJACENCY
  • GL_TRIANGLE_STRIP
  • GL_TRIANGLE_FAN
  • GL_TRIANGLES

複数ポリゴン描画する場合は、複数回glDrawArraysをコールする必要がありそう。

  • GL_TRIANGLE_STRIP_ADJACENCY
  • GL_TRIANGLES_ADJACENCY

関連

アクセス解析タグ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment