次の方法で共有


float_4::float_4 コンストラクター

既定のコンストラクターは、 0 のすべての要素を初期化します。

float_4() restrict(amp,cpu);
float_4(
   float _V0,
   float _V1,
   float _V2,
   float _V3
) restrict(amp,cpu);
float_4(
   float _V
) restrict(amp,cpu);
float_4(
   const float_4& _Other
) restrict(amp,cpu);
explicit inline float_4(
   const uint_4& _Other
) restrict(amp,cpu);
explicit inline float_4(
   const int_4& _Other
) restrict(amp,cpu);
explicit inline float_4(
   const unorm_4& _Other
) restrict(amp,cpu);
explicit inline float_4(
   const norm_4& _Other
) restrict(amp,cpu);
explicit inline float_4(
   const double_4& _Other
) restrict(amp,cpu);

パラメーター

  • _V0
    0 要素を初期化する値。

  • _V1
    要素 1. を初期化する値。

  • _V2
    要素 2. を初期化する値。

  • _V3
    要素 3. を初期化する値。

  • _V
    初期化の値。

  • _Other
    初期化するために使用するオブジェクト。

必要条件

ヘッダー: amp_short_vectors.h

名前空間: の同時実行:: グラフィックス

参照

関連項目

float_4 クラス