OpenGL ES 3.0 Programming Guide, Second Edition
by Dan Ginsburg, Budirijanto Purnomo, Dave Shreiner, Aaftab Munshi
Appendix B. Built-In Functions
The OpenGL ES shading language built-in functions described in this appendix are copyrighted by Khronos and are reprinted with permission from the OpenGL ES 3.00.4 Shading Language Specification. The latest OpenGL ES 3.0 Shading Language specification can be downloaded from http://khronos.org/registry/gles/.
The OpenGL ES Shading Language defines an assortment of built-in convenience functions for scalar and vector operations. Many of these built-in functions can be used in more than one type of shader, but some are intended to provide a direct mapping to hardware and so are available only for a specific type of shader.
The built-in functions basically fall into three categories:
• They expose some necessary hardware ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access