/doc/fragment_shaders.adoc
https://github.com/stetre/moongl · AsciiDoc · 16 lines · 11 code · 5 blank · 0 comment · 0 complexity · f7895cb41e8061dc3402ad2505d54efe MD5 · raw file
- == Fragment Shaders
- [[gl.bind_frag_data_location]]
- * *bind_frag_data_location*(_program_, _color_, _name_, [_index_]) +
- [small]#Rfr: https://www.khronos.org/opengl/wiki/GLAPI/glBindFragDataLocation[glBindFragDataLocation],
- https://www.khronos.org/opengl/wiki/GLAPI/glBindFragDataLocationIndexed[glBindFragDataLocationIndexed].#
- [[gl.get_frag_data_location]]
- * _location_ = *get_frag_data_location*(_program_, _name_) +
- [small]#Rfr: https://www.khronos.org/opengl/wiki/GLAPI/glGetFragDataLocation[glGetFragDataLocation].#
- [[gl.get_frag_data_index]]
- * _index_ = *get_frag_data_index*(_program_, _name_) +
- [small]#Rfr: https://www.khronos.org/opengl/wiki/GLAPI/glGetFragDataIndex[glGetFragDataIndex].#