Condividi tramite


Funzione get_texture

Prende un oggetto texture e restituisce un'interfaccia IUnknown.

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                     
)  ;

Parametri

  • _Value_type
    Il tipo di elementi della texture.

  • _Rank
    Il rango della texture.

  • _Texture
    Una writeonly_texture_view di una texture su un accelerator_view di D3D per il quale l'interfaccia sottostante di D3D della texture viene restituita.

Valore restituito

Il puntatore a interfaccia IUnknown corrispondente alla texture D3D di base alla texture.

Requisiti

Intestazione: amp_graphics.h

Spazio dei nomi: Concurrency::graphics::direct3d

Vedere anche

Riferimenti

Spazio dei nomi Concurrency::graphics::direct3d