Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Takes an IUnknown interface and returns a texture object and returns.
template<
typename _Value_type,
int _Rank
>
texture<_Value_type, _Rank> make_texture(
const Concurrency::accelerator_view &_Av,
_In_ IUnknown *_D3D_texture
) ;
Parameters
_Value_type
The type of the elements in the texture._Rank
The rank of the texture._Av
A D3D accelerator view on which the texture is to be created._D3D_texture
IUnknown interface pointer of the D3D texture to create the texture from.
Return Value
A texture using the provided D3D texture.
Requirements
Header: amp_graphics.h
Namespace: Concurrency::graphics::direct3d