SHARE
TWEET

GLSL usertype.dat

a guest Aug 10th, 2014 1,368 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // GLSL Data Types
  2. atomic_uint
  3. bvec2
  4. bvec3
  5. bvec4
  6. dvec2
  7. dvec3
  8. dvec4
  9. ivec2
  10. ivec3
  11. ivec4
  12. uvec2
  13. uvec3
  14. uvec4
  15. vec2
  16. vec3
  17. vec4
  18. mat2
  19. mat3
  20. mat4
  21. sampler1D
  22. sampler2D
  23. sampler3D
  24. samplerCube
  25. sampler2DRect
  26. sampler1DArray
  27. sampler2DArray
  28. samplerCubeArray
  29. samplerBuffer
  30. sampler2DMS
  31. sampler2DMSArray
  32. sampler1DShadow
  33. sampler2DShadow
  34. samplerCubeShadow
  35. sampler2DRectShadow
  36. sampler1DArrayShadow
  37. sampler2DArrayShadow
  38. samplerCubeArrayShadow
  39. isampler1D
  40. isampler2D
  41. isampler3D
  42. isamplerCube
  43. isampler2DRect
  44. isampler1DArray
  45. isampler2DArray
  46. usampler1D
  47. usampler2D
  48. usampler3D
  49. usamplerCube
  50. usampler2DRect
  51. usampler1DArray
  52. usampler2DArray
  53. isamplerBuffer
  54. usamplerBuffer
  55. image1D
  56. image2D
  57. image3D
  58. imageCube
  59. image2DRect
  60. image1DArray
  61. image2DArray
  62. imageCubeArray
  63. imageBuffer
  64. image2DMS
  65. image2DMSArray
  66.  
  67. // GLSL Type Qualifiers
  68. attribute
  69. uniform
  70. varying
  71. highp
  72. mediump
  73. lowp
  74. precision
  75. in
  76. out
  77. inout
  78. flat
  79. noperspective
  80. centroid
  81. smooth
  82. layout
  83.  
  84. //GLSL built in variables and constants
  85. location
  86. gl_Position
  87. gl_PointSize
  88. gl_ClipDistance
  89. gl_ClipVertex
  90. gl_PrimitiveID
  91. gl_Layer
  92. gl_Vertex
  93. gl_Normal
  94. gl_Color
  95. gl_SecondaryColor
  96. gl_MultiTexCoord0
  97. gl_MultiTexCoord1
  98. gl_MultiTexCoord2
  99. gl_MultiTexCoord3
  100. gl_MultiTexCoord4
  101. gl_MultiTexCoord5
  102. gl_MultiTexCoord6
  103. gl_MultiTexCoord7
  104. gl_FogCoord
  105. gl_FrontColor
  106. gl_BackColor
  107. gl_FrontSecondaryColor
  108. gl_BackSecondaryColor
  109. gl_TexCoord
  110. gl_FogFragCoord
  111. gl_VertexID
  112. gl_InstanceID
  113. gl_PrimitiveID
  114. gl_FragCoord
  115. gl_FrontFacing
  116. gl_PointCoord
  117. gl_FragColor
  118. gl_FragData
  119. gl_FragDepth
  120. gl_MaxVertexUniformComponents
  121. gl_MaxFragmentUniformComponents
  122. gl_MaxVertexAttribs
  123. gl_MaxVaryingFloats
  124. gl_MaxTextureCoords
  125. gl_MaxTextureUnits
  126. gl_MaxLights
  127. gl_MaxClipPlanes
  128. gl_MaxVertexUniformVectors
  129. gl_MaxVaryingVectors
  130. gl_MaxVertexTextureImageUnits
  131. gl_MaxCombinedTextureImageUnits
  132. gl_MaxTextureImageUnits
  133. gl_MaxFragmentUniformVectors
  134. gl_MaxDrawBuffers
  135. gl_ModelViewMatrix
  136. gl_ModelViewProjectionMatrix
  137. gl_ProjectionMatrix
  138. gl_TextureMatrix
  139. gl_ModelViewMatrixInverse
  140. gl_ModelViewProjectionMatrixInverse
  141. gl_ProjectionMatrixInverse
  142. gl_TextureMatrixInverse
  143. gl_ModelViewMatrixTranspose
  144. gl_ModelViewProjectionMatrixTranspose
  145. gl_ProjectionMatrixTranspose
  146. gl_TextureMatrixTranspose
  147. gl_ModelViewMatrixInverseTranspose
  148. gl_ModelViewProjectionMatrixInverseTranspose
  149. gl_ProjectionMatrixInverseTranspose
  150. gl_TextureMatrixInverseTranspose
  151. gl_NormalMatrix
  152. gl_NormalScale
  153. gl_DepthRangeParameters
  154. gl_DepthRange
  155. gl_FogParameters
  156. gl_Fog
  157. gl_LightSourceParameters
  158. gl_LightSource
  159. gl_LightModelParameters
  160. gl_LightMode
  161. gl_LightModelProducts
  162. gl_FrontLightModelProduct
  163. gl_BackLightModelProduct
  164. gl_LightProducts
  165. gl_FrontLightProduct
  166. gl_BackLightProduct
  167. gl_MaterialParameters
  168. gl_FrontMaterial
  169. gl_BackMaterial
  170. gl_PointParameters
  171. gl_Point
  172. gl_TextureEnvColor
  173. gl_ClipPlane
  174. gl_EyePlaneS
  175. gl_EyePlaneT
  176. gl_EyePlaneR
  177. gl_EyePlaneQ
  178. gl_ObjectPlaneS
  179. gl_ObjectPlaneT
  180. gl_ObjectPlaneR
  181. gl_ObjectPlaneQ
  182.  
  183. //GLSL statements
  184. discard
  185. main
  186.  
  187. //GLSL functions
  188. radians
  189. degrees
  190. sin
  191. cos
  192. tan
  193. asin
  194. acos
  195. atan
  196. pow
  197. exp
  198. log
  199. exp2
  200. log2
  201. sqrt
  202. inversesqrt
  203. abs
  204. sign
  205. floor
  206. ceil
  207. fract
  208. mod
  209. min
  210. max
  211. clamp
  212. mix
  213. step
  214. smoothstep
  215. fttransform
  216. length
  217. distance
  218. dot
  219. cross
  220. normalize
  221. faceforward
  222. reflect
  223. refract
  224. dFdx
  225. dFdy
  226. fwidth
  227. matrixCompMult
  228. lessThan
  229. lessThanEqual
  230. greaterThan
  231. greaterThanEqual
  232. equal
  233. notEqual
  234. any
  235. all
  236. not
  237. textureSize
  238. textureOffset
  239. textureLod
  240. textureProj
  241. textureGrad
  242. textureProjOffset
  243. textureProjLod
  244. textureProjLodOffset
  245. textureProjGrad
  246. textureProjGradOffset
  247. textureLodOffset
  248. textureGradOffset
  249. texelFetch
  250. texelFetchOffset
  251. texture
  252. texture1D
  253. texture1DProj
  254. texture2D
  255. texture2DProj
  256. texture3D
  257. texture3DProj
  258. textureCube
  259. shadow1D
  260. shadow2D
  261. shadow1DProj
  262. shadow2DProj
  263. EmitVertex
  264. EndPrimitive
RAW Paste Data
Top