最終更新:2014-05-07 (水) 06:44:03 (3632d)  

uniform
Top / uniform

GLSL/ストレージ修飾子?

  • シェーダプログラム内で用いる外部定数
  • シェーダが呼び出され実行される時に変化しない定数で、CPUから渡されてくるもの。
  • The uniform qualifier is used to declare global variables whose values are the same across the entire primitive being processed.
  • All uniform variables are read-only and are initialized either directly by an application via API commands, or indirectly by OpenGL ES.