• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 110
2
3vec4 ftransform();
4
5/*
6 * 8.7 - Texture Lookup Functions
7 * "The built-ins suffixed with "Lod" are only allowed in a vertex shader."
8 */
9vec4 texture1DLod    (sampler1D sampler, float coord, float lod);
10vec4 texture1DProjLod(sampler1D sampler, vec2  coord, float lod);
11vec4 texture1DProjLod(sampler1D sampler, vec4  coord, float lod);
12
13vec4 texture2DLod    (sampler2D sampler, vec2 coord, float lod);
14vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod);
15vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod);
16
17vec4 texture3DLod    (sampler3D sampler, vec3 coord, float lod);
18vec4 texture3DProjLod(sampler3D sampler, vec4 coord, float lod);
19
20vec4 textureCubeLod  (samplerCube sampler, vec3 coord, float lod);
21
22vec4 shadow1DLod    (sampler1DShadow sampler, vec3 coord, float lod);
23vec4 shadow2DLod    (sampler2DShadow sampler, vec3 coord, float lod);
24vec4 shadow1DProjLod(sampler1DShadow sampler, vec4 coord, float lod);
25vec4 shadow2DProjLod(sampler2DShadow sampler, vec4 coord, float lod);
26