X-Git-Url: http://git.hcoop.net/clinton/guile-figl.git/blobdiff_plain/b002944dd992dc5a273e0067504beb48e1ae3d1c..a6a00658f26c164551287799b194cc2f07eb78be:/upstream-doc/manglsl/xhtml/textureProjGrad.xml
diff --git a/upstream-doc/manglsl/xhtml/textureProjGrad.xml b/upstream-doc/manglsl/xhtml/textureProjGrad.xml
new file mode 100644
index 0000000..44db937
--- /dev/null
+++ b/upstream-doc/manglsl/xhtml/textureProjGrad.xml
@@ -0,0 +1,44 @@
+
+
+
+
Name
textureProjGrad â perform a texture lookup with projection and explicit gradients
Declaration
gvec4 textureProjGrad( | gsampler1D Â | sampler, |
 | vec2  | P, |
 | float  | pDx, |
 | float  | pDy) ; |
gvec4 textureProjGrad( | gsampler1D Â | sampler, |
 | vec4  | P, |
 | float  | pDx, |
 | float  | pDy) ; |
gvec4 textureProjGrad( | gsampler2D Â | sampler, |
 | vec3  | P, |
 | vec2  | pDx, |
 | vec2  | pDy) ; |
gvec4 textureProjGrad( | gsampler2D Â | sampler, |
 | vec4  | P, |
 | vec2  | pDx, |
 | vec2  | pDy) ; |
gvec4 textureProjGrad( | gsampler3D Â | sampler, |
 | vec4  | P, |
 | vec3  | pDx, |
 | vec3  | pDy) ; |
float textureProjGrad( | sampler1DShadow  | sampler, |
 | vec4  | P, |
 | float  | pDx, |
 | float  | pDy) ; |
float textureProjGrad( | sampler2DShadow  | sampler, |
 | vec4  | P, |
 | vec2  | pDx, |
 | vec2  | pDy) ; |
gvec4 textureProjGrad( | gsampler2DRect  | sampler, |
 | vec3  | P, |
 | vec2  | pDx, |
 | vec2  | pDy) ; |
gvec4 textureProjGrad( | gsampler2DRect  | sampler, |
 | vec4  | P, |
 | vec2  | pDx, |
 | vec2  | pDy) ; |
float textureProjGrad( | gsampler2DRectShadow  | sampler, |
 | vec4  | P, |
 | vec2  | pDx, |
 | vec2  | pDy) ; |
Parameters
sampler
+ Specifies the sampler to which the texture from which texels will be retrieved is bound.
+
P
+ Specifies the texture coordinates at which texture will be sampled.
+
dPdx
+ Specifies the partial derivative of P
with respect to window x.
+
dPdy
+ Specifies the partial derivative of P
with respect to window y.
+
Description
+ textureProjGrad
performs a texture lookup with projection and explicit gradients. The texture coordinates
+ consumed from P
, not including the last component of P
,
+ are divided by the last component of P
. The resulting 3rd
+ component of P
in the shadow forms is used as
+ Dref.
+ After these values are computed, the texture lookup proceeds as in textureGrad,
+ passing dPdx
and dPdy
as gradients.
+
See Also
+ texelFetch,
+ texelFetchOffset,
+ texture,
+ textureGather,
+ textureGatherOffset,
+ textureGatherOffsets,
+ textureGrad,
+ textureGradOffset,
+ textureLod,
+ textureLodOffset,
+ textureOffset,
+ textureProj,
+ textureProjGradOffset,
+ textureProjLod,
+ textureProjLodOffset,
+ textureProjOffset,
+ textureQueryLod,
+ textureSize
+
Copyright
+ Copyright © 2011 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
+ the Open Publication License, v 1.0, 8 June 1999.
+ http://opencontent.org/openpub/.
+