次の方法で共有


short_vector_traits 構造体

short_vector_traits を使用すると、短いベクター型またはスカラー型の基になるベクターの長さとスカラー型を取得できます

構文

template<
    typename T
>
struct short_vector_traits;
template<>
struct short_vector_traits<unsigned int>;
template<>
struct short_vector_traits<uint_2>;
template<>
struct short_vector_traits<uint_3>;
template<>
struct short_vector_traits<uint_4>;
template<>
struct short_vector_traits<int>;
template<>
struct short_vector_traits<int_2>;
template<>
struct short_vector_traits<int_3>;
template<>
struct short_vector_traits<int_4>;
template<>
struct short_vector_traits<float>;
template<>
struct short_vector_traits<float_2>;
template<>
struct short_vector_traits<float_3>;
template<>
struct short_vector_traits<float_4>;
template<>
struct short_vector_traits<unorm>;
template<>
struct short_vector_traits<unorm_2>;
template<>
struct short_vector_traits<unorm_3>;
template<>
struct short_vector_traits<unorm_4>;
template<>
struct short_vector_traits<norm>;
template<>
struct short_vector_traits<norm_2>;
template<>
struct short_vector_traits<norm_3>;
template<>
struct short_vector_traits<norm_4>;
template<>
struct short_vector_traits<double>;
template<>
struct short_vector_traits<double_2>;
template<>
struct short_vector_traits<double_3>;
template<>
struct short_vector_traits<double_4>;

パラメーター

T

メンバー

パブリック typedef

名前 説明
value_type

パブリック コンストラクター

名前 説明
short_vector_traits::short_vector_traits コンストラクター

パブリック定数

名前 説明
short_vector_traits::size 定数

継承階層

short_vector_traits

必要条件

ヘッダー: amp_short_vectors.h

名前空間: Concurrency::graphics

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

short_vector_traits();

short_vector_traits::size 定数

static int const size = 1;

関連項目

Concurrency::graphics 名前空間