最終更新:2015-03-31 (火) 02:59:23 (3307d)  

gl_PerVertex
Top / gl_PerVertex

defines an interface block for outputs

GLSL ≥ 1.50

GLSL/頂点シェーダ

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

GLSL/ジオメトリシェーダ?

  • 入力/出力
    in gl_PerVertex /* GLSL ≥ 1.50 */
    {
      vec4 gl_Position;
      float gl_PointSize;
      float gl_ClipDistance[];
    }