Export (0) Print
Expand All

get_texture Function

Takes a texture object and returns an IUnknown interface.

template<
   typename _Value_type,
   int _Rank                     
>
_Ret_ IUnknown *get_texture(
   const texture<_Value_type,
   _Rank> &_Texture                     
)  ;
                     
template<
   typename _Value_type,
   int _Rank                     
>
_Ret_ IUnknown *get_texture(
   const writeonly_texture_view<_Value_type,
   _Rank> &_Texture                     
)  ;

_Value_type

The element type of the texture.

_Rank

The rank of the texture.

_Texture

A writeonly_texture_view of a texture on a D3D accelerator_view for which the underlying D3D texture interface is returned.

The IUnknown interface pointer corresponding to the D3D texture underlying the texture.

Header: amp_graphics.h

Namespace: Concurrency::graphics::direct3d

Show:
© 2014 Microsoft