Конструктор texture_view::texture_view
Создает экземпляр texture_view.
texture_view( // [1] constructor
texture<_Value_type, _Rank>& _Src
) restrict(amp);
texture_view( // [2] constructor
texture<_Value_type, _Rank>& _Src,
unsigned int _Mipmap_level = 0
) restrict(cpu);
texture_view( // [3] constructor
const texture<_Value_type, _Rank>& _Src
) restrict(amp);
texture_view( // [4] constructor
const texture<_Value_type, _Rank>& _Src,
unsigned int _Most_detailed_mip,
unsigned int _Mip_levels
) restrict(cpu);
texture_view( // [5] copy constructor
const texture_view<_Value_type, _Rank>& _Other
) restrict(amp, cpu);
texture_view( // [6] copy constructor
const texture_view<const _Value_type, _Rank>& _Other
) restrict(amp, cpu);
texture_view( // [7] copy constructor
const texture_view<const _Value_type, _Rank>& _Other,
unsigned int _Most_detailed_mip,
unsigned int _Mip_levels
) restrict(cpu);
Параметры
_Src
[1, 2] Конструктор
Объект texture, в котором создается незаписываемыйtexture_view.[3, 4] Конструктор
Объект texture, в котором создается незаписываемый texture_view.
_Other
[5] Конструктор копии
Источник с возможностью записи texture_view.[6, 7] Конструктор копии
Источник без возможности записи texture_view.
_Mipmap_level
Определенный уровень mipmap в источнике texture, это перезаписываемое привязывается к texture_view. Уровень детализации по умолчанию 0, которое представляет самый подробный уровень mip._Most_detailed_mip
Уровень MIP верхнего уровня (наиболее подробный) для представления, относительно указанного объекта texture_view._Mip_levels
Количество уровней mipmap доступных через texture_view.
Требования
Заголовок: amp_graphics.h
Пространство имен: concurrency::graphics