- Page 1 and 2: The OpenGL ® Shading Language Lang
- Page 3 and 4: Table of Contents 1 Introduction...
- Page 5: 5.4 Constructors...................
- Page 9 and 10: 1 Introduction • Change from ASCI
- Page 11 and 12: 1 Introduction 1.4 Error Handling C
- Page 13 and 14: 2 Overview of OpenGL Shading writte
- Page 15 and 16: 3 Basics string being string 0. Lin
- Page 17 and 18: 3 Basics The defined operator can b
- Page 19 and 20: 3 Basics By default, compilers of t
- Page 21 and 22: 3 Basics 3.5 Tokens The language is
- Page 23 and 24: 3 Basics goto inline noinline publi
- Page 25 and 26: 4 Variables and Types All variables
- Page 27 and 28: 4 Variables and Types Floating Poin
- Page 29 and 30: 4 Variables and Types Type usampler
- Page 31 and 32: 4 Variables and Types 4.1.4 Floats
- Page 33 and 34: 4 Variables and Types 4.1.7.1 Sampl
- Page 35 and 36: 4 Variables and Types expression th
- Page 37 and 38: 4 Variables and Types 4.1.10 Implic
- Page 39 and 40: 4 Variables and Types A list of ini
- Page 41 and 42: 4 Variables and Types Within a decl
- Page 43 and 44: 4 Variables and Types Local variabl
- Page 45 and 46: 4 Variables and Types location. Ver
- Page 47 and 48: 4 Variables and Types uniform varia
- Page 49 and 50: 4 Variables and Types of any these.
- Page 51 and 52: 4 Variables and Types If an instanc
- Page 53 and 54: 4 Variables and Types layout-qualif
- Page 55 and 56: 4 Variables and Types fractional_ev
- Page 57 and 58:
4 Variables and Types // code seque
- Page 59 and 60:
4 Variables and Types If the declar
- Page 61 and 62:
4 Variables and Types In this examp
- Page 63 and 64:
4 Variables and Types Redeclaration
- Page 65 and 66:
4 Variables and Types binding point
- Page 67 and 68:
4 Variables and Types Binding point
- Page 69 and 70:
4 Variables and Types Any image var
- Page 71 and 72:
4 Variables and Types 4.6 Parameter
- Page 73 and 74:
4 Variables and Types For example:
- Page 75 and 76:
4 Variables and Types • The textu
- Page 77 and 78:
4 Variables and Types Some examples
- Page 79 and 80:
4 Variables and Types because the c
- Page 81 and 82:
5 Operators and Expressions 5.2 Arr
- Page 83 and 84:
5 Operators and Expressions Some us
- Page 85 and 86:
5 Operators and Expressions The arg
- Page 87 and 88:
5 Operators and Expressions subscri
- Page 89 and 90:
5 Operators and Expressions • rig
- Page 91 and 92:
5 Operators and Expressions • The
- Page 93 and 94:
5 Operators and Expressions And mat
- Page 95 and 96:
6 Statements and Structure iteratio
- Page 97 and 98:
6 Statements and Structure 2. A mat
- Page 99 and 100:
6 Statements and Structure The cons
- Page 101 and 102:
6 Statements and Structure 6.3 Iter
- Page 103 and 104:
7 Built-in Variables 7.1 Built-In L
- Page 105 and 106:
7 Built-in Variables in int gl_Patc
- Page 107 and 108:
7 Built-in Variables Outputs”) an
- Page 109 and 110:
7 Built-in Variables The variable g
- Page 111 and 112:
7 Built-in Variables The following
- Page 113 and 114:
7 Built-in Variables face is visibl
- Page 115 and 116:
7 Built-in Variables const int gl_M
- Page 117 and 118:
7 Built-in Variables uniform mat4 g
- Page 119 and 120:
7 Built-in Variables // // compatib
- Page 121 and 122:
8 Built-in Functions 8.1 Angle and
- Page 123 and 124:
8 Built-in Functions 8.2 Exponentia
- Page 125 and 126:
8 Built-in Functions Syntax genType
- Page 127 and 128:
8 Built-in Functions Syntax genType
- Page 129 and 130:
123 8 Built-in Functions
- Page 131 and 132:
8 Built-in Functions Syntax double
- Page 133 and 134:
8 Built-in Functions Syntax genType
- Page 135 and 136:
8 Built-in Functions Syntax mat2 in
- Page 137 and 138:
8 Built-in Functions Syntax bool al
- Page 139 and 140:
8 Built-in Functions Syntax genITyp
- Page 141 and 142:
8 Built-in Functions In all functio
- Page 143 and 144:
8 Built-in Functions Syntax vec2 te
- Page 145 and 146:
8 Built-in Functions Syntax gvec4 t
- Page 147 and 148:
8 Built-in Functions Syntax gvec4 t
- Page 149 and 150:
8 Built-in Functions Syntax gvec4 t
- Page 151 and 152:
8 Built-in Functions Syntax gvec4 t
- Page 153 and 154:
8 Built-in Functions 8.9.4 Compatib
- Page 155 and 156:
8 Built-in Functions 8.10 Atomic-Co
- Page 157 and 158:
8 Built-in Functions Syntax gvec4 i
- Page 159 and 160:
8 Built-in Functions With single-sa
- Page 161 and 162:
8 Built-in Functions 8.13 Noise Fun
- Page 163 and 164:
8 Built-in Functions Multiple outpu
- Page 165 and 166:
9 Shading Language Grammar for Core
- Page 167 and 168:
9 Shading Language Grammar for Core
- Page 169 and 170:
9 Shading Language Grammar for Core
- Page 171 and 172:
9 Shading Language Grammar for Core
- Page 173 and 174:
9 Shading Language Grammar for Core
- Page 175 and 176:
9 Shading Language Grammar for Core
- Page 177 and 178:
9 Shading Language Grammar for Core