/doc/fragment_shaders.adoc

https://github.com/stetre/moongl · AsciiDoc · 16 lines · 11 code · 5 blank · 0 comment · 0 complexity · f7895cb41e8061dc3402ad2505d54efe MD5 · raw file

  1. == Fragment Shaders
  2. [[gl.bind_frag_data_location]]
  3. * *bind_frag_data_location*(_program_, _color_, _name_, [_index_]) +
  4. [small]#Rfr: https://www.khronos.org/opengl/wiki/GLAPI/glBindFragDataLocation[glBindFragDataLocation],
  5. https://www.khronos.org/opengl/wiki/GLAPI/glBindFragDataLocationIndexed[glBindFragDataLocationIndexed].#
  6. [[gl.get_frag_data_location]]
  7. * _location_ = *get_frag_data_location*(_program_, _name_) +
  8. [small]#Rfr: https://www.khronos.org/opengl/wiki/GLAPI/glGetFragDataLocation[glGetFragDataLocation].#
  9. [[gl.get_frag_data_index]]
  10. * _index_ = *get_frag_data_index*(_program_, _name_) +
  11. [small]#Rfr: https://www.khronos.org/opengl/wiki/GLAPI/glGetFragDataIndex[glGetFragDataIndex].#