Partager via


texture_view::get Method

Gets the value of the element at the specified index.

const value_type get(
   const index<_Rank>& _Index
) const restrict(amp);

value_type get(
   const index<_Rank>& _Index,
   unsigned int _Mip_level = 0
) const restrict(amp);

Parameters

  • _Index
    The index of the element to get, possibly multi-dimensional.

  • _Mip_level
    The mipmap level from which we should get the value. The default value 0 represents the most detailed mipmap level.

Return Value

The value of the element.

Requirements

Header: amp_graphics.h

Namespace: concurrency::graphics

See Also

Reference

texture_view Class