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