共用方式為


texture::texture 解構函式

初始化 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
);

參數

  • _Acc_view
    指定紋理位置的 accelerator_view

  • _Av
    指定紋理位置的 accelerator_view

  • _Associated_av
    指定此材質慣用的複製目標的 accelerator_view。

  • _Bits_per_scalar_element
    材質的基礎純量類別中每個純量元素的位元數。 一般而言,支援的值為 8、16、32 和 64。 如果指定 0,則位元數會與基礎 scalar_type 相同。64 僅適用於 double 材質。

  • _Ext
    材質中每個維度的範圍。

  • _E0
    材質的最重要元件。

  • _E1
    材質的次重要元件。

  • _E2
    材質範圍的最不重要元件。

  • _Input_iterator
    輸入迭代器的類型。

  • _Mipmap_levels
    基礎材質中 Mipmap 層級的數量。 如果指定 0,材質會有完整的 Mipmap 層級範圍,包含所指定範圍的最小大小。

  • _Rank
    範圍的順位。

  • _Source
    主機緩衝區的指標。

  • _Src
    至要複製的紋理。

  • _Src_byte_size
    來源緩衝區中的位元組數目。

  • _Src_first
    來源容器中的開頭迭代器。

  • _Src_last
    來源容器中的結束迭代器。

  • _Other
    其他資料來源。

  • _Rank
    區段的順位。

需求

**標頭:**amp_graphics.h

**命名空間:**Concurrency::graphics

請參閱

參考

texture 類別