Skip to content

Latest commit

 

History

History
51 lines (29 loc) · 2.24 KB

texture1d-samplegrad.md

File metadata and controls

51 lines (29 loc) · 2.24 KB
title description ms.assetid keywords topic_type api_type ms.topic ms.date api_name api_location
Texture1D::Texture1D SampleGrad methods
Samples a Texture1D using a gradient to influence the way the sample location is calculated.
20DE104D-79FD-410D-A8FC-7E810A0654A0
SampleGrad methods HLSL
apiref
NA
reference
05/31/2018

Texture1D::SampleGrad methods

Samples a Texture1D 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

Texture1D