Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.28 KB

texture2d-gather.md

File metadata and controls

42 lines (27 loc) · 1.28 KB
title description ms.assetid keywords topic_type api_type ms.topic ms.date api_name api_location
Texture2D::Texture2D Gather methods
Samples a Texture2D and returns all four components.
bb3ecda8-f167-45ce-a59f-af3e0308e250
Gather methods HLSL
apiref
NA
reference
05/31/2018

Texture2D::Gather methods

Samples a Texture2D and returns all four components.

See the documentation on gather4 for more information describing the underlying DXBC instruction.

Overload list

Method Description
Gather(S,float,int) Samples a texture and returns all four components.
Gather(S,float,int,uint) Samples a texture and returns all four components along with status about the operation.

See also

Texture2D