Compartir a través de


short_vector_traits (Estructura)

short_vector_traits permite recuperar la longitud del vector subyacente y el tipo escalar de un tipo de vector corto o un tipo escalar

Sintaxis

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

Parámetros

T

Miembros

Definiciones de tipos públicas

Nombre Descripción
value_type

Constructores públicos

Nombre Descripción
constructor short_vector_traits::short_vector_traits

Constantes públicas

Nombre Descripción
short_vector_traits::size (Constante)

Jerarquía de herencia

short_vector_traits

Requisitos

Encabezado: amp_short_vectors.h

Espacio de nombres: Concurrency::graphics

constructor short_vector_traits::short_vector_traits

short_vector_traits();

short_vector_traits::size (Constante)

static int const size = 1;

Consulte también

Concurrency::graphics (espacio de nombres)