次の方法で共有


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 は、倍精度ベースのテクスチャに対してのみ有効です。

  • _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 クラス