Bagikan melalui


Struktur short_vector_traits

short_vector_traits memungkinkan pengambilan panjang vektor yang mendasarinya dan tipe skalar dari tipe vektor pendek atau tipe skalar

Sintaks

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

Parameter

T

Anggota

Typedef Publik

Nama Deskripsi
value_type

Konstruktor Publik

Nama Deskripsi
konstruktor short_vector_traits::short_vector_traits

Konstanta Umum

Nama Deskripsi
short_vector_traits::size Constant

Hierarki Pewarisan

short_vector_traits

Persyaratan

Header: amp_short_vectors.h

Namespace: Konkurensi::grafis

konstruktor dari short_vector_traits::short_vector_traits

short_vector_traits();

short_vector_traits::size Konstanta

static int const size = 1;

Lihat juga

Konkurensi::graphics Namespace