texture::texture 构造函数

初始化新实例的纹理类。

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

texture(
   int _E0
)  ;

texture(
   int _E0,
   int _E1
)  ;

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

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

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

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

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

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

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

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

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

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

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

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

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


texture(
   int _E0,
   unsigned int _Bits_per_scalar_element
)  ;

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

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

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

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

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

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

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

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

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

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

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

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


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 对象,它指定纹理的位置。

  • _Bits_per_scalar_element
    每个基础标量类型的纹理中的每个通道的比特数。 有效值为 8、 16 或 32。 不支持某些标量类型的所有值。

  • _Ext
    在每个维度中纹理的程度。

  • _E0
    纹理的最重要的组件。

  • _E1
    纹理的下一步-到-最高有效的组件。

  • _E2
    纹理的程度的最不重要的组件。

  • _Input_iterator
    输入的 interator 的类型。

  • _Rank
    扩展盘区的秩。

  • _Source
    若要复制的对象。

  • _Src
    若要复制的对象。

  • _Src_byte_size
    在源缓冲区的字节数。

  • _Src_first
    到源容器开始迭代器。

  • _Src_last
    结束迭代器中的源容器。

  • _Other
    其他数据源。

  • _Rank
    部分中的排位。

要求

标题: amp_graphics.h

命名空间: Concurrency::graphics

请参见

参考

texture 类