make_texture Function

Takes an IUnknown interface and returns a texture object and returns.

   typename _Value_type,
   int _Rank                     
texture<_Value_type, _Rank> make_texture(
   const Concurrency::accelerator_view &_Av,
   _In_ IUnknown *_D3D_texture                     
)  ;


The type of the elements in the texture.


The rank of the texture.


A D3D accelerator view on which the texture is to be created.


IUnknown interface pointer of the D3D texture to create the texture from.

A texture using the provided D3D texture.

Header: amp_graphics.h

Namespace: Concurrency::graphics::direct3d