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 命名空间