Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Returns the blue components of the four texel values that would be used in a bi-linear filtering operation.
TemplateType GatherBlue(
in SamplerState S,
in float3 Location,
in int2 Offset1,
in int2 Offset2,
in int2 Offset3,
in int2 Offset4
);
S [in]
Type: SamplerState
The zero-based sampler index.
Location [in]
Type: float
The sample coordinates (u,v).
Offset1 [in]
Type: int2
The first offset component applied to the texture coordinates before sampling.
Offset2 [in]
Type: int2
The second offset component applied to the texture coordinates before sampling.
Offset3 [in]
Type: int2
The third offset component applied to the texture coordinates before sampling.
Offset4 [in]
Type: int2
The fourth offset component applied to the texture coordinates before sampling.
Type: TemplateType
A four-component value whose type is the same as the template type.
The texture samples can be used for bilinear interpolation.
This function is supported for the following types of shaders:
Vertex | Hull | Domain | Geometry | Pixel | Compute |
---|---|---|---|---|---|
x | x | x | x | x | x |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today