texture_view::gather_blue Method
Samples the texture at the specified coordinates by using the specified sampling configuration and returns the blue (z) components of the four sampled texels.
const gather_return_type gather_blue(
const sampler& _Sampler,
const coordinates_type& _Coord
) const restrict(amp);
template<
address_mode _Address_mode = address_clamp
>
const gather_return_type gather_blue(
const coordinates_type& _Coord
) const restrict(amp);
Parameters
_Address_mode
The address mode to use to sample the texture_view. The address mode is the same for all dimensions._Sampler
The sampler configuration to use to sample the texture_view._Coord
The coordinates to take the sample from. Fractional coordinate values are used to interpolate between sample texels.
Return Value
A rank 4 short vector containing the red (x) component of the 4 sampled texel values.
Requirements
Header: amp_graphics.h
Namespace: concurrency::graphics