make_texture 函式
取得 IUnknown 介面並傳回 材質 物件並傳回。
template<
typename _Value_type,
int _Rank
>
texture<_Value_type, _Rank> make_texture(
const Concurrency::accelerator_view &_Av,
_In_ IUnknown *_D3D_texture
) ;
參數
_Value_type
紋理中的項目型別。_Rank
texture 的秩。_Av
一個材質將要建立在其上的D3D快速鍵檢視。_D3D_texture
從 D3D 材質的 IUnknown 介面指標來建立材質。
傳回值
使用所提供的 D3D 材質紋理的材質。
需求
標頭: amp_graphics.h
命名空間: Concurrency::graphics::direct3d