Built-in Functions

The OpenGL Shading Language defines an assortment of built-in convenience functions for scalar and vector operations. These are grouped as shown below, and use the subsequently defined notation for types.

• “Angle and Trigonometry Functions

• “Exponential Functions

• “Common Functions

• “Floating-Point Pack and Unpack Functions

• “Geometric Functions

• “Matrix Functions

• “Vector Relational Functions

• “Integer Functions

• “Texture Functions

• “Atomic-Counter Functions

• “Atomic Memory Functions

• “Image Functions

• “Fragment Processing Functions

• “Noise Functions

• “Geometry Shader Functions

• “Shader Invocation Control Functions

• “Shader Memory Control Functions

Listing all the prototypes for all the GLSL ...

Get OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.