Texture2D::SampleGrad methods

Samples a Texture2D using a gradient to influence the way the sample location is calculated.

Overload list

Method Description
SampleGrad(S,float,float,float,int) Samples a texture, using a gradient to influence the way the sample location is calculated.
SampleGrad(S,float,float,float,int,float) Samples a texture, using a gradient to influence the way the sample location is calculated, with an optional value to clamp sample level-of-detail (LOD) values to.
SampleGrad(S,float,float,float,int,float,uint) Samples a texture, using a gradient to influence the way the sample location is calculated, with an optional value to clamp sample level-of-detail (LOD) values to. Returns status about the operation.

Remarks

Refer to Texture-Object.

See also

Texture2D