Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Samples the texture at the specified coordinates by using the specified sampling configuration and returns the alpha (w) components of the four sampled texels.
const gather_return_type gather_alpha(
   const sampler& _Sampler,
   const coordinates_type& _Coord
) const restrict(amp);
template<
   address_mode _Address_mode = address_clamp
>
const gather_return_type gather_alpha(
   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 alpha (w) component of the 4 sampled texel values.
Requirements
Header: amp_graphics.h
Namespace: concurrency::graphics