Udostępnij przez


short_vector_traits — Struktura

short_vector_traits umożliwia pobieranie bazowej długości wektora i typu skalarnego typu krótkiego wektora lub typu skalarnego

Składnia

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

Parametry

T

Elementy członkowskie

Definicje typów publicznych

Nazwa/nazwisko opis
value_type

Konstruktory publiczne

Nazwa/nazwisko opis
konstruktor short_vector_traits::short_vector_traits

Stałe publiczne

Nazwa/nazwisko opis
short_vector_traits::size, stała

Hierarchia dziedziczenia

short_vector_traits

Wymagania

Nagłówek: amp_short_vectors.h

Przestrzeń nazw: Concurrency::graphics

konstruktor short_vector_traits::short_vector_traits

short_vector_traits();

short_vector_traits::size, stała

static int const size = 1;

Zobacz też

Concurrency::graphics, przestrzeń nazw