texture_view::get 方法
取得位於指定索引處的項目值。
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);
參數
_Index
要取得之項目的索引 (可能多維)。_Mip_level
我們應從中取得值的 Mipmap 層級。 預設值為 0,表示最詳細的 Mipmap 層級。
傳回值
項目的值。
需求
**標頭:**amp_graphics.h
**命名空間:**concurrency::graphics