最終更新:2015-03-31 (火) 02:52:09 (1957d)  

gl_Position
Top / gl_Position

contains the position of the current vertex

out vec4 gl_Position;

https://www.opengl.org/sdk/docs/man/html/gl_Position.xhtml

メモ

  • GLSL < 1.50

GLSL >1.5

out gl_PerVertex /* GLSL ≥ 1.50 */
{
  vec4 gl_Position;
  float gl_PointSize;
  float gl_ClipDistance[];
}

関連