• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* New anisotropic texture functions, providing explicit derivatives: */
2vec4 texture1DGradARB        (sampler1D sampler,
3                              float P, float dPdx, float dPdy);
4vec4 texture1DProjGradARB    (sampler1D sampler,
5                              vec2  P, float dPdx, float dPdy);
6vec4 texture1DProjGradARB    (sampler1D sampler,
7                              vec4  P, float dPdx, float dPdy);
8
9vec4 texture2DGradARB        (sampler2D sampler,
10                              vec2  P, vec2  dPdx, vec2  dPdy);
11vec4 texture2DProjGradARB    (sampler2D sampler,
12                              vec3  P, vec2  dPdx, vec2  dPdy);
13vec4 texture2DProjGradARB    (sampler2D sampler,
14                              vec4  P, vec2  dPdx, vec2  dPdy);
15
16vec4 texture3DGradARB        (sampler3D sampler,
17                              vec3  P, vec3  dPdx, vec3  dPdy);
18vec4 texture3DProjGradARB    (sampler3D sampler,
19                              vec4  P, vec3  dPdx, vec3  dPdy);
20
21vec4 textureCubeGradARB      (samplerCube sampler,
22                              vec3  P, vec3  dPdx, vec3  dPdy);
23
24vec4 shadow1DGradARB         (sampler1DShadow sampler,
25                              vec3  P, float dPdx, float dPdy);
26vec4 shadow1DProjGradARB     (sampler1DShadow sampler,
27                              vec4  P, float dPdx, float dPdy);
28
29vec4 shadow2DGradARB         (sampler2DShadow sampler,
30                              vec3  P, vec2  dPdx, vec2  dPdy);
31vec4 shadow2DProjGradARB     (sampler2DShadow sampler,
32                              vec4  P, vec2  dPdx, vec2  dPdy);
33
34#ifdef GL_ARB_texture_rectangle
35vec4 texture2DRectGradARB    (sampler2DRect sampler,
36                              vec2  P, vec2  dPdx, vec2  dPdy);
37vec4 texture2DRectProjGradARB(sampler2DRect sampler,
38                              vec3  P, vec2  dPdx, vec2  dPdy);
39vec4 texture2DRectProjGradARB(sampler2DRect sampler,
40                              vec4  P, vec2  dPdx, vec2  dPdy);
41
42vec4 shadow2DRectGradARB     (sampler2DRectShadow sampler,
43                              vec3  P, vec2  dPdx, vec2  dPdy);
44vec4 shadow2DRectProjGradARB (sampler2DRectShadow sampler,
45                              vec4  P, vec2  dPdx, vec2  dPdy);
46#endif
47