最終更新:2015-03-31 (火) 02:52:09 (3307d)
GLSL/組み込み変数 > GLSL/頂点シェーダ > 出力gl_Position
Top / gl_Position
contains the position of the current vertex
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[]; }