共用方式為


short_vector_traits 結構

short_vector_traits 能擷取 short vector 型別內部的向量長度和純量型別或純量形別。

template<
   typename _Type
>
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>;

參數

  • _Type

Members

公用 Typedefs

名稱

描述

value_type

公用建構函式

名稱

描述

short_vector_traits::short_vector_traits 建構函式

公用常數

名稱

描述

short_vector_traits::size 常數

繼承階層架構

short_vector_traits

需求

標頭: amp_short_vectors.h

命名空間: Concurrency::graphics

請參閱

參考

Concurrency::graphics 命名空間