Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 2.07 KB

texture2d-gatherred.md

File metadata and controls

48 lines (28 loc) · 2.07 KB
title description ms.assetid keywords topic_type api_type ms.topic ms.date api_name api_location
Texture2D::Texture2D GatherRed methods
Samples a Texture2D and returns the red component.
6c281823-f9d0-4e3f-9f69-67309f79c1c3
GatherRed methods HLSL
apiref
NA
reference
05/31/2018

Texture2D::GatherRed methods

Returns the red components of a Texture2D's four texel values that would be used in a bi-linear filtering operation.

Overload list

Method Description
GatherRed(S,float,int) Returns the red components of the four texel values that would be used in a bi-linear filtering operation.
GatherRed(S,float,int,uint) Returns the red components of the four texel values that would be used in a bi-linear filtering operation, along with tile-mapping status.
GatherRed(S,float,int2,int2,int2,int2) Returns the red components of the four texel values that would be used in a bi-linear filtering operation.
GatherRed(S,float,int2,int2,int2,int2,uint) Returns the red components of the four texel values that would be used in a bi-linear filtering operation, along with tile-mapping status.

See also

Texture2D