Sdílet prostřednictvím


texture::texture – konstruktor

Inicializuje novou instanci třídy texture.

texture(
   const Concurrency::extent<_Rank>& _Ext
) restrict(cpu);

texture(
   int _E0
) restrict(cpu);

texture(
   int _E0,
   int _E1
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   int _E2
) restrict(cpu);

texture(
   const Concurrency::extent<_Rank>& _Ext,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   int _E2,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   const Concurrency::extent<_Rank>& _Ext,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   int _E0,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   int _E0,
   int _E1,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   int _E0,
   int _E1,
   int _E2,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   const Concurrency::extent<_Rank>& _Ext,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   int _E0,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   int _E0,
   int _E1,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   int _E0,
   int _E1,
   int _E2,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last,
   const Concurrency::accelerator_view& _Av
) restrict(cpu))  ;


texture(
   int _E0,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   int _E2,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   const Concurrency::extent<_Rank>& _Ext,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
)  ;

texture(
   int _E0,
   int _E1,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   int _E2,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   const Concurrency::extent<_Rank>& _Ext,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   int _E0,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   int _E2,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   const Concurrency::extent<_Rank>& _Ext,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
)  ;

texture(
   int _E0,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   int _E2,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);


texture(
   const texture & _Src,
   const Concurrency::accelerator_view & _Acc_view
);

texture(
   texture && _Other
); 

texture(
   const Concurrency::extent<_Rank>& _Ext, 
   unsigned int _Bits_per_scalar_element, 
   const Concurrency::accelerator_view& _Av
); 

texture(
   const texture & _Src
);

Parametry

  • _Acc_view
    Objekt accelerator_view určuje umístění textury.

  • _Av
    Objekt accelerator_view určuje umístění textury.

  • _Associated_av
    Zobrazení akcelerátoru, které určuje upřednostňovaný cíl pro kopie do nebo z této textury.

  • _Bits_per_scalar_element
    Počet bitů na každý skalární prvek v základním skalárním typu textury.Obecně jsou podporovány hodnoty 8, 16, 32 a 64.Pokud zadáte hodnotu 0, počet bitů je stejný jako základní scalar_type. 64 je platné pouze pro double textury.

  • _Ext
    Rozsah v každé dimenzi textury.

  • _E0
    Nejdůležitější součást textury.

  • _E1
    Další nejdůležitější součást textury.

  • _E2
    Nejméně významná komponenta rozsahu textury.

  • _Input_iterator
    Typ vstupního iterátoru.

  • _Mipmap_levels
    Počet úrovní mipmap u podkladové textury.Pokud zadáte hodnotu 0, bude mít textura v plný rozsah úrovní mipmap na nejmenší možnou hodnotu pro zadaný rozsah.

  • _Rank
    Řád rozsahu.

  • _Source
    Ukazatel do vyrovnávací paměti hostitele.

  • _Src
    Chcete-li kopírovat texturu.

  • _Src_byte_size
    Počet bajtů ve zdrojové vyrovnávací paměti.

  • _Src_first
    Počáteční iterátor do zdrojového kontejneru.

  • _Src_last
    Koncový iterátor do zdrojového kontejneru.

  • _Other
    Jiný zdroj dat.

  • _Rank
    Řád oddílu.

Požadavky

Hlavička: amp_graphics.h

Obor názvů: Concurrency::graphics

Viz také

Referenční dokumentace

texture – třída