clang 23.0.0git
hlsl Namespace Reference

Namespaces

namespace  __detail
namespace  vk

Typedefs

typedef int int32_t
typedef unsigned int uint
 An unsigned 32-bit integer.
typedef unsigned int uint32_t
typedef float float32_t
typedef unsigned long uint64_t
typedef long int64_t
typedef double float64_t
typedef vector< bool, 1 > bool1
typedef vector< bool, 2 > bool2
typedef vector< bool, 3 > bool3
typedef vector< bool, 4 > bool4
typedef vector< int, 1 > int1
typedef vector< int, 2 > int2
typedef vector< int, 3 > int3
typedef vector< int, 4 > int4
typedef vector< uint, 1 > uint1
typedef vector< uint, 2 > uint2
typedef vector< uint, 3 > uint3
typedef vector< uint, 4 > uint4
typedef vector< int32_t, 1 > int32_t1
typedef vector< int32_t, 2 > int32_t2
typedef vector< int32_t, 3 > int32_t3
typedef vector< int32_t, 4 > int32_t4
typedef vector< uint32_t, 1 > uint32_t1
typedef vector< uint32_t, 2 > uint32_t2
typedef vector< uint32_t, 3 > uint32_t3
typedef vector< uint32_t, 4 > uint32_t4
typedef vector< int64_t, 1 > int64_t1
typedef vector< int64_t, 2 > int64_t2
typedef vector< int64_t, 3 > int64_t3
typedef vector< int64_t, 4 > int64_t4
typedef vector< uint64_t, 1 > uint64_t1
typedef vector< uint64_t, 2 > uint64_t2
typedef vector< uint64_t, 3 > uint64_t3
typedef vector< uint64_t, 4 > uint64_t4
typedef vector< half, 1 > half1
typedef vector< half, 2 > half2
typedef vector< half, 3 > half3
typedef vector< half, 4 > half4
typedef vector< float, 1 > float1
typedef vector< float, 2 > float2
typedef vector< float, 3 > float3
typedef vector< float, 4 > float4
typedef vector< double, 1 > double1
typedef vector< double, 2 > double2
typedef vector< double, 3 > double3
typedef vector< double, 4 > double4
typedef vector< float32_t, 1 > float32_t1
typedef vector< float32_t, 2 > float32_t2
typedef vector< float32_t, 3 > float32_t3
typedef vector< float32_t, 4 > float32_t4
typedef vector< float64_t, 1 > float64_t1
typedef vector< float64_t, 2 > float64_t2
typedef vector< float64_t, 3 > float64_t3
typedef vector< float64_t, 4 > float64_t4
typedef matrix< bool, 1, 1 > bool1x1
typedef matrix< bool, 1, 2 > bool1x2
typedef matrix< bool, 1, 3 > bool1x3
typedef matrix< bool, 1, 4 > bool1x4
typedef matrix< bool, 2, 1 > bool2x1
typedef matrix< bool, 2, 2 > bool2x2
typedef matrix< bool, 2, 3 > bool2x3
typedef matrix< bool, 2, 4 > bool2x4
typedef matrix< bool, 3, 1 > bool3x1
typedef matrix< bool, 3, 2 > bool3x2
typedef matrix< bool, 3, 3 > bool3x3
typedef matrix< bool, 3, 4 > bool3x4
typedef matrix< bool, 4, 1 > bool4x1
typedef matrix< bool, 4, 2 > bool4x2
typedef matrix< bool, 4, 3 > bool4x3
typedef matrix< bool, 4, 4 > bool4x4
typedef matrix< int, 1, 1 > int1x1
typedef matrix< int, 1, 2 > int1x2
typedef matrix< int, 1, 3 > int1x3
typedef matrix< int, 1, 4 > int1x4
typedef matrix< int, 2, 1 > int2x1
typedef matrix< int, 2, 2 > int2x2
typedef matrix< int, 2, 3 > int2x3
typedef matrix< int, 2, 4 > int2x4
typedef matrix< int, 3, 1 > int3x1
typedef matrix< int, 3, 2 > int3x2
typedef matrix< int, 3, 3 > int3x3
typedef matrix< int, 3, 4 > int3x4
typedef matrix< int, 4, 1 > int4x1
typedef matrix< int, 4, 2 > int4x2
typedef matrix< int, 4, 3 > int4x3
typedef matrix< int, 4, 4 > int4x4
typedef matrix< uint, 1, 1 > uint1x1
typedef matrix< uint, 1, 2 > uint1x2
typedef matrix< uint, 1, 3 > uint1x3
typedef matrix< uint, 1, 4 > uint1x4
typedef matrix< uint, 2, 1 > uint2x1
typedef matrix< uint, 2, 2 > uint2x2
typedef matrix< uint, 2, 3 > uint2x3
typedef matrix< uint, 2, 4 > uint2x4
typedef matrix< uint, 3, 1 > uint3x1
typedef matrix< uint, 3, 2 > uint3x2
typedef matrix< uint, 3, 3 > uint3x3
typedef matrix< uint, 3, 4 > uint3x4
typedef matrix< uint, 4, 1 > uint4x1
typedef matrix< uint, 4, 2 > uint4x2
typedef matrix< uint, 4, 3 > uint4x3
typedef matrix< uint, 4, 4 > uint4x4
typedef matrix< int32_t, 1, 1 > int32_t1x1
typedef matrix< int32_t, 1, 2 > int32_t1x2
typedef matrix< int32_t, 1, 3 > int32_t1x3
typedef matrix< int32_t, 1, 4 > int32_t1x4
typedef matrix< int32_t, 2, 1 > int32_t2x1
typedef matrix< int32_t, 2, 2 > int32_t2x2
typedef matrix< int32_t, 2, 3 > int32_t2x3
typedef matrix< int32_t, 2, 4 > int32_t2x4
typedef matrix< int32_t, 3, 1 > int32_t3x1
typedef matrix< int32_t, 3, 2 > int32_t3x2
typedef matrix< int32_t, 3, 3 > int32_t3x3
typedef matrix< int32_t, 3, 4 > int32_t3x4
typedef matrix< int32_t, 4, 1 > int32_t4x1
typedef matrix< int32_t, 4, 2 > int32_t4x2
typedef matrix< int32_t, 4, 3 > int32_t4x3
typedef matrix< int32_t, 4, 4 > int32_t4x4
typedef matrix< uint32_t, 1, 1 > uint32_t1x1
typedef matrix< uint32_t, 1, 2 > uint32_t1x2
typedef matrix< uint32_t, 1, 3 > uint32_t1x3
typedef matrix< uint32_t, 1, 4 > uint32_t1x4
typedef matrix< uint32_t, 2, 1 > uint32_t2x1
typedef matrix< uint32_t, 2, 2 > uint32_t2x2
typedef matrix< uint32_t, 2, 3 > uint32_t2x3
typedef matrix< uint32_t, 2, 4 > uint32_t2x4
typedef matrix< uint32_t, 3, 1 > uint32_t3x1
typedef matrix< uint32_t, 3, 2 > uint32_t3x2
typedef matrix< uint32_t, 3, 3 > uint32_t3x3
typedef matrix< uint32_t, 3, 4 > uint32_t3x4
typedef matrix< uint32_t, 4, 1 > uint32_t4x1
typedef matrix< uint32_t, 4, 2 > uint32_t4x2
typedef matrix< uint32_t, 4, 3 > uint32_t4x3
typedef matrix< uint32_t, 4, 4 > uint32_t4x4
typedef matrix< int64_t, 1, 1 > int64_t1x1
typedef matrix< int64_t, 1, 2 > int64_t1x2
typedef matrix< int64_t, 1, 3 > int64_t1x3
typedef matrix< int64_t, 1, 4 > int64_t1x4
typedef matrix< int64_t, 2, 1 > int64_t2x1
typedef matrix< int64_t, 2, 2 > int64_t2x2
typedef matrix< int64_t, 2, 3 > int64_t2x3
typedef matrix< int64_t, 2, 4 > int64_t2x4
typedef matrix< int64_t, 3, 1 > int64_t3x1
typedef matrix< int64_t, 3, 2 > int64_t3x2
typedef matrix< int64_t, 3, 3 > int64_t3x3
typedef matrix< int64_t, 3, 4 > int64_t3x4
typedef matrix< int64_t, 4, 1 > int64_t4x1
typedef matrix< int64_t, 4, 2 > int64_t4x2
typedef matrix< int64_t, 4, 3 > int64_t4x3
typedef matrix< int64_t, 4, 4 > int64_t4x4
typedef matrix< uint64_t, 1, 1 > uint64_t1x1
typedef matrix< uint64_t, 1, 2 > uint64_t1x2
typedef matrix< uint64_t, 1, 3 > uint64_t1x3
typedef matrix< uint64_t, 1, 4 > uint64_t1x4
typedef matrix< uint64_t, 2, 1 > uint64_t2x1
typedef matrix< uint64_t, 2, 2 > uint64_t2x2
typedef matrix< uint64_t, 2, 3 > uint64_t2x3
typedef matrix< uint64_t, 2, 4 > uint64_t2x4
typedef matrix< uint64_t, 3, 1 > uint64_t3x1
typedef matrix< uint64_t, 3, 2 > uint64_t3x2
typedef matrix< uint64_t, 3, 3 > uint64_t3x3
typedef matrix< uint64_t, 3, 4 > uint64_t3x4
typedef matrix< uint64_t, 4, 1 > uint64_t4x1
typedef matrix< uint64_t, 4, 2 > uint64_t4x2
typedef matrix< uint64_t, 4, 3 > uint64_t4x3
typedef matrix< uint64_t, 4, 4 > uint64_t4x4
typedef matrix< half, 1, 1 > half1x1
typedef matrix< half, 1, 2 > half1x2
typedef matrix< half, 1, 3 > half1x3
typedef matrix< half, 1, 4 > half1x4
typedef matrix< half, 2, 1 > half2x1
typedef matrix< half, 2, 2 > half2x2
typedef matrix< half, 2, 3 > half2x3
typedef matrix< half, 2, 4 > half2x4
typedef matrix< half, 3, 1 > half3x1
typedef matrix< half, 3, 2 > half3x2
typedef matrix< half, 3, 3 > half3x3
typedef matrix< half, 3, 4 > half3x4
typedef matrix< half, 4, 1 > half4x1
typedef matrix< half, 4, 2 > half4x2
typedef matrix< half, 4, 3 > half4x3
typedef matrix< half, 4, 4 > half4x4
typedef matrix< float, 1, 1 > float1x1
typedef matrix< float, 1, 2 > float1x2
typedef matrix< float, 1, 3 > float1x3
typedef matrix< float, 1, 4 > float1x4
typedef matrix< float, 2, 1 > float2x1
typedef matrix< float, 2, 2 > float2x2
typedef matrix< float, 2, 3 > float2x3
typedef matrix< float, 2, 4 > float2x4
typedef matrix< float, 3, 1 > float3x1
typedef matrix< float, 3, 2 > float3x2
typedef matrix< float, 3, 3 > float3x3
typedef matrix< float, 3, 4 > float3x4
typedef matrix< float, 4, 1 > float4x1
typedef matrix< float, 4, 2 > float4x2
typedef matrix< float, 4, 3 > float4x3
typedef matrix< float, 4, 4 > float4x4
typedef matrix< double, 1, 1 > double1x1
typedef matrix< double, 1, 2 > double1x2
typedef matrix< double, 1, 3 > double1x3
typedef matrix< double, 1, 4 > double1x4
typedef matrix< double, 2, 1 > double2x1
typedef matrix< double, 2, 2 > double2x2
typedef matrix< double, 2, 3 > double2x3
typedef matrix< double, 2, 4 > double2x4
typedef matrix< double, 3, 1 > double3x1
typedef matrix< double, 3, 2 > double3x2
typedef matrix< double, 3, 3 > double3x3
typedef matrix< double, 3, 4 > double3x4
typedef matrix< double, 4, 1 > double4x1
typedef matrix< double, 4, 2 > double4x2
typedef matrix< double, 4, 3 > double4x3
typedef matrix< double, 4, 4 > double4x4
typedef matrix< float32_t, 1, 1 > float32_t1x1
typedef matrix< float32_t, 1, 2 > float32_t1x2
typedef matrix< float32_t, 1, 3 > float32_t1x3
typedef matrix< float32_t, 1, 4 > float32_t1x4
typedef matrix< float32_t, 2, 1 > float32_t2x1
typedef matrix< float32_t, 2, 2 > float32_t2x2
typedef matrix< float32_t, 2, 3 > float32_t2x3
typedef matrix< float32_t, 2, 4 > float32_t2x4
typedef matrix< float32_t, 3, 1 > float32_t3x1
typedef matrix< float32_t, 3, 2 > float32_t3x2
typedef matrix< float32_t, 3, 3 > float32_t3x3
typedef matrix< float32_t, 3, 4 > float32_t3x4
typedef matrix< float32_t, 4, 1 > float32_t4x1
typedef matrix< float32_t, 4, 2 > float32_t4x2
typedef matrix< float32_t, 4, 3 > float32_t4x3
typedef matrix< float32_t, 4, 4 > float32_t4x4
typedef matrix< float64_t, 1, 1 > float64_t1x1
typedef matrix< float64_t, 1, 2 > float64_t1x2
typedef matrix< float64_t, 1, 3 > float64_t1x3
typedef matrix< float64_t, 1, 4 > float64_t1x4
typedef matrix< float64_t, 2, 1 > float64_t2x1
typedef matrix< float64_t, 2, 2 > float64_t2x2
typedef matrix< float64_t, 2, 3 > float64_t2x3
typedef matrix< float64_t, 2, 4 > float64_t2x4
typedef matrix< float64_t, 3, 1 > float64_t3x1
typedef matrix< float64_t, 3, 2 > float64_t3x2
typedef matrix< float64_t, 3, 3 > float64_t3x3
typedef matrix< float64_t, 3, 4 > float64_t3x4
typedef matrix< float64_t, 4, 1 > float64_t4x1
typedef matrix< float64_t, 4, 2 > float64_t4x2
typedef matrix< float64_t, 4, 3 > float64_t4x3
typedef matrix< float64_t, 4, 4 > float64_t4x4

Functions

template<int R, int C>
 _HLSL_BUILTIN_ALIAS (__builtin_hlsl_mul) vector< half
C mul (vector< half, R >, matrix< half, R, C >)
template<typename T, int R, int C>
vector< T, Cmul (vector< T, R >, matrix< T, R, C >)
R mul (matrix< half, R, C >, vector< half, C >)
template<typename T, int R, int C>
vector< T, Rmul (matrix< T, R, C >, vector< T, C >)
template<int R, int K, int C>
 _HLSL_BUILTIN_ALIAS (__builtin_hlsl_mul) matrix< half
C mul (matrix< half, R, K >, matrix< half, K, C >)
template<typename T, int R, int K, int C>
matrix< T, R, Cmul (matrix< T, R, K >, matrix< T, K, C >)
template<int R, int C>
 _HLSL_BUILTIN_ALIAS (__builtin_hlsl_transpose) matrix< half
R transpose (matrix< half, R, C >)
template<typename T, int R, int C>
matrix< T, C, Rtranspose (matrix< T, R, C >)
 Returns the transpose of the input matrix.
template<typename T>
select (bool, T, T)
 ternary operator.
template<typename T>
vector< T, 2 > select (vector< bool, 2 >, vector< T, 2 >, vector< T, 2 >)
template<typename T>
vector< T, 3 > select (vector< bool, 3 >, vector< T, 3 >, vector< T, 3 >)
template<typename T>
vector< T, 4 > select (vector< bool, 4 >, vector< T, 4 >, vector< T, 4 >)
template<typename T>
vector< T, 2 > select (vector< bool, 2 >, T, vector< T, 2 >)
template<typename T>
vector< T, 3 > select (vector< bool, 3 >, T, vector< T, 3 >)
template<typename T>
vector< T, 4 > select (vector< bool, 4 >, T, vector< T, 4 >)
template<typename T>
vector< T, 2 > select (vector< bool, 2 >, vector< T, 2 >, T)
template<typename T>
vector< T, 3 > select (vector< bool, 3 >, vector< T, 3 >, T)
template<typename T>
vector< T, 4 > select (vector< bool, 4 >, vector< T, 4 >, T)
template<typename T>
__detail::enable_if_t< __detail::is_arithmetic< T >::Value, vector< T, 2 > > select (vector< bool, 2 >, T, T)
template<typename T>
__detail::enable_if_t< __detail::is_arithmetic< T >::Value, vector< T, 3 > > select (vector< bool, 3 >, T, T)
template<typename T>
__detail::enable_if_t< __detail::is_arithmetic< T >::Value, vector< T, 4 > > select (vector< bool, 4 >, T, T)
template<typename T, uint N>
constexpr __detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > clamp (vector< T, N > p0, vector< T, N > p1, T p2)
template<typename T, uint N>
constexpr __detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > clamp (vector< T, N > p0, T p1, vector< T, N > p2)
template<typename T, uint N>
constexpr __detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > clamp (vector< T, N > p0, T p1, T p2)
constexpr bool isinf (double V)
constexpr bool2 isinf (double2 V)
constexpr bool3 isinf (double3 V)
constexpr bool4 isinf (double4 V)
constexpr bool isnan (double V)
constexpr bool2 isnan (double2 V)
constexpr bool3 isnan (double3 V)
constexpr bool4 isnan (double4 V)
template<typename T, uint N>
constexpr __detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > lerp (vector< T, N > x, vector< T, N > y, T s)
template<typename T, uint N>
constexpr __detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > max (vector< T, N > p0, T p1)
template<typename T, uint N>
constexpr __detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > max (T p0, vector< T, N > p1)
template<typename T, uint N>
constexpr __detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > min (vector< T, N > p0, T p1)
template<typename T, uint N>
constexpr __detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > min (T p0, vector< T, N > p1)
template<typename T, int N>
constexpr vector< float, N > asfloat (vector< T, N > V)
template<typename T>
constexpr float asfloat (T F)
 Interprets the bit pattern of x as float point number.
template<typename T, int N>
constexpr vector< int, N > asint (vector< T, N > V)
template<typename T>
constexpr int asint (T F)
 Interprets the bit pattern of x as an integer.
template<typename T, int N>
constexpr vector< uint, N > asuint (vector< T, N > V)
template<typename T>
constexpr uint asuint (T F)
 Interprets the bit pattern of x as an unsigned integer.
void asuint (double, out uint, out uint)
void asuint (double2, out uint2, out uint2)
void asuint (double3, out uint3, out uint3)
void asuint (double4, out uint4, out uint4)
template<typename T>
const __detail::enable_if_t< __detail::is_same< int, T >::value||__detail::is_same< uint, T >::value, uintfirstbithigh (T X)
 Returns the location of the first set bit starting from the lowest order bit and working upward, per component.
template<typename T, int N>
const __detail::enable_if_t< __detail::is_same< int, T >::value||__detail::is_same< uint, T >::value, vector< uint, N > > firstbithigh (vector< T, N > X)
template<typename T>
const __detail::enable_if_t< __detail::is_same< int64_t, T >::value||__detail::is_same< uint64_t, T >::value, uintfirstbithigh (T X)
template<typename T, int N>
const __detail::enable_if_t< __detail::is_same< int64_t, T >::value||__detail::is_same< uint64_t, T >::value, vector< uint, N > > firstbithigh (vector< T, N > X)
template<typename T>
constexpr __detail::enable_if_t< __detail::is_arithmetic< T >::Value &&__detail::is_same< half, T >::value, T > mul (T x, T y)
template<typename T>
constexpr __detail::enable_if_t< __detail::is_arithmetic< T >::Value &&!__detail::is_same< half, T >::value, T > mul (T x, T y)
template<int N>
constexpr vector< half, N > mul (half x, vector< half, N > y)
template<typename T, int N>
constexpr vector< T, N > mul (T x, vector< T, N > y)
template<int R, int C>
constexpr matrix< half, R, Cmul (half x, matrix< half, R, C > y)
template<typename T, int R, int C>
constexpr matrix< T, R, Cmul (T x, matrix< T, R, C > y)
template<int N>
constexpr vector< half, N > mul (vector< half, N > x, half y)
template<typename T, int N>
constexpr vector< T, N > mul (vector< T, N > x, T y)
template<int N>
half mul (vector< half, N > x, vector< half, N > y)
template<typename T, int N>
mul (vector< T, N > x, vector< T, N > y)
template<int R, int C>
constexpr matrix< half, R, Cmul (matrix< half, R, C > x, half y)
template<typename T, int R, int C>
constexpr matrix< T, R, Cmul (matrix< T, R, C > x, T y)

Variables

 R
 C

Typedef Documentation

◆ bool1

typedef vector<bool, 1> hlsl::bool1

Definition at line 60 of file hlsl_basic_types.h.

◆ bool1x1

typedef matrix<bool, 1, 1> hlsl::bool1x1

Definition at line 153 of file hlsl_basic_types.h.

◆ bool1x2

typedef matrix<bool, 1, 2> hlsl::bool1x2

Definition at line 154 of file hlsl_basic_types.h.

◆ bool1x3

typedef matrix<bool, 1, 3> hlsl::bool1x3

Definition at line 155 of file hlsl_basic_types.h.

◆ bool1x4

typedef matrix<bool, 1, 4> hlsl::bool1x4

Definition at line 156 of file hlsl_basic_types.h.

◆ bool2

typedef vector<bool, 2> hlsl::bool2

Definition at line 61 of file hlsl_basic_types.h.

◆ bool2x1

typedef matrix<bool, 2, 1> hlsl::bool2x1

Definition at line 157 of file hlsl_basic_types.h.

◆ bool2x2

typedef matrix<bool, 2, 2> hlsl::bool2x2

Definition at line 158 of file hlsl_basic_types.h.

◆ bool2x3

typedef matrix<bool, 2, 3> hlsl::bool2x3

Definition at line 159 of file hlsl_basic_types.h.

◆ bool2x4

typedef matrix<bool, 2, 4> hlsl::bool2x4

Definition at line 160 of file hlsl_basic_types.h.

◆ bool3

typedef vector<bool, 3> hlsl::bool3

Definition at line 62 of file hlsl_basic_types.h.

◆ bool3x1

typedef matrix<bool, 3, 1> hlsl::bool3x1

Definition at line 161 of file hlsl_basic_types.h.

◆ bool3x2

typedef matrix<bool, 3, 2> hlsl::bool3x2

Definition at line 162 of file hlsl_basic_types.h.

◆ bool3x3

typedef matrix<bool, 3, 3> hlsl::bool3x3

Definition at line 163 of file hlsl_basic_types.h.

◆ bool3x4

typedef matrix<bool, 3, 4> hlsl::bool3x4

Definition at line 164 of file hlsl_basic_types.h.

◆ bool4

typedef vector<bool, 4> hlsl::bool4

Definition at line 63 of file hlsl_basic_types.h.

◆ bool4x1

typedef matrix<bool, 4, 1> hlsl::bool4x1

Definition at line 165 of file hlsl_basic_types.h.

◆ bool4x2

typedef matrix<bool, 4, 2> hlsl::bool4x2

Definition at line 166 of file hlsl_basic_types.h.

◆ bool4x3

typedef matrix<bool, 4, 3> hlsl::bool4x3

Definition at line 167 of file hlsl_basic_types.h.

◆ bool4x4

typedef matrix<bool, 4, 4> hlsl::bool4x4

Definition at line 168 of file hlsl_basic_types.h.

◆ double1

typedef vector<double, 1> hlsl::double1

Definition at line 97 of file hlsl_basic_types.h.

◆ double1x1

typedef matrix<double, 1, 1> hlsl::double1x1

Definition at line 299 of file hlsl_basic_types.h.

◆ double1x2

typedef matrix<double, 1, 2> hlsl::double1x2

Definition at line 300 of file hlsl_basic_types.h.

◆ double1x3

typedef matrix<double, 1, 3> hlsl::double1x3

Definition at line 301 of file hlsl_basic_types.h.

◆ double1x4

typedef matrix<double, 1, 4> hlsl::double1x4

Definition at line 302 of file hlsl_basic_types.h.

◆ double2

typedef vector<double, 2> hlsl::double2

Definition at line 98 of file hlsl_basic_types.h.

◆ double2x1

typedef matrix<double, 2, 1> hlsl::double2x1

Definition at line 303 of file hlsl_basic_types.h.

◆ double2x2

typedef matrix<double, 2, 2> hlsl::double2x2

Definition at line 304 of file hlsl_basic_types.h.

◆ double2x3

typedef matrix<double, 2, 3> hlsl::double2x3

Definition at line 305 of file hlsl_basic_types.h.

◆ double2x4

typedef matrix<double, 2, 4> hlsl::double2x4

Definition at line 306 of file hlsl_basic_types.h.

◆ double3

typedef vector<double, 3> hlsl::double3

Definition at line 99 of file hlsl_basic_types.h.

◆ double3x1

typedef matrix<double, 3, 1> hlsl::double3x1

Definition at line 307 of file hlsl_basic_types.h.

◆ double3x2

typedef matrix<double, 3, 2> hlsl::double3x2

Definition at line 308 of file hlsl_basic_types.h.

◆ double3x3

typedef matrix<double, 3, 3> hlsl::double3x3

Definition at line 309 of file hlsl_basic_types.h.

◆ double3x4

typedef matrix<double, 3, 4> hlsl::double3x4

Definition at line 310 of file hlsl_basic_types.h.

◆ double4

typedef vector<double, 4> hlsl::double4

Definition at line 100 of file hlsl_basic_types.h.

◆ double4x1

typedef matrix<double, 4, 1> hlsl::double4x1

Definition at line 311 of file hlsl_basic_types.h.

◆ double4x2

typedef matrix<double, 4, 2> hlsl::double4x2

Definition at line 312 of file hlsl_basic_types.h.

◆ double4x3

typedef matrix<double, 4, 3> hlsl::double4x3

Definition at line 313 of file hlsl_basic_types.h.

◆ double4x4

typedef matrix<double, 4, 4> hlsl::double4x4

Definition at line 314 of file hlsl_basic_types.h.

◆ float1

typedef vector<float, 1> hlsl::float1

Definition at line 93 of file hlsl_basic_types.h.

◆ float1x1

typedef matrix<float, 1, 1> hlsl::float1x1

Definition at line 283 of file hlsl_basic_types.h.

◆ float1x2

typedef matrix<float, 1, 2> hlsl::float1x2

Definition at line 284 of file hlsl_basic_types.h.

◆ float1x3

typedef matrix<float, 1, 3> hlsl::float1x3

Definition at line 285 of file hlsl_basic_types.h.

◆ float1x4

typedef matrix<float, 1, 4> hlsl::float1x4

Definition at line 286 of file hlsl_basic_types.h.

◆ float2

typedef vector<float, 2> hlsl::float2

Definition at line 94 of file hlsl_basic_types.h.

◆ float2x1

typedef matrix<float, 2, 1> hlsl::float2x1

Definition at line 287 of file hlsl_basic_types.h.

◆ float2x2

typedef matrix<float, 2, 2> hlsl::float2x2

Definition at line 288 of file hlsl_basic_types.h.

◆ float2x3

typedef matrix<float, 2, 3> hlsl::float2x3

Definition at line 289 of file hlsl_basic_types.h.

◆ float2x4

typedef matrix<float, 2, 4> hlsl::float2x4

Definition at line 290 of file hlsl_basic_types.h.

◆ float3

typedef vector<float, 3> hlsl::float3

Definition at line 95 of file hlsl_basic_types.h.

◆ float32_t

Definition at line 39 of file hlsl_basic_types.h.

◆ float32_t1

typedef vector<float32_t, 1> hlsl::float32_t1

Definition at line 109 of file hlsl_basic_types.h.

◆ float32_t1x1

typedef matrix<float32_t, 1, 1> hlsl::float32_t1x1

Definition at line 335 of file hlsl_basic_types.h.

◆ float32_t1x2

typedef matrix<float32_t, 1, 2> hlsl::float32_t1x2

Definition at line 336 of file hlsl_basic_types.h.

◆ float32_t1x3

typedef matrix<float32_t, 1, 3> hlsl::float32_t1x3

Definition at line 337 of file hlsl_basic_types.h.

◆ float32_t1x4

typedef matrix<float32_t, 1, 4> hlsl::float32_t1x4

Definition at line 338 of file hlsl_basic_types.h.

◆ float32_t2

typedef vector<float32_t, 2> hlsl::float32_t2

Definition at line 110 of file hlsl_basic_types.h.

◆ float32_t2x1

typedef matrix<float32_t, 2, 1> hlsl::float32_t2x1

Definition at line 339 of file hlsl_basic_types.h.

◆ float32_t2x2

typedef matrix<float32_t, 2, 2> hlsl::float32_t2x2

Definition at line 340 of file hlsl_basic_types.h.

◆ float32_t2x3

typedef matrix<float32_t, 2, 3> hlsl::float32_t2x3

Definition at line 341 of file hlsl_basic_types.h.

◆ float32_t2x4

typedef matrix<float32_t, 2, 4> hlsl::float32_t2x4

Definition at line 342 of file hlsl_basic_types.h.

◆ float32_t3

typedef vector<float32_t, 3> hlsl::float32_t3

Definition at line 111 of file hlsl_basic_types.h.

◆ float32_t3x1

typedef matrix<float32_t, 3, 1> hlsl::float32_t3x1

Definition at line 343 of file hlsl_basic_types.h.

◆ float32_t3x2

typedef matrix<float32_t, 3, 2> hlsl::float32_t3x2

Definition at line 344 of file hlsl_basic_types.h.

◆ float32_t3x3

typedef matrix<float32_t, 3, 3> hlsl::float32_t3x3

Definition at line 345 of file hlsl_basic_types.h.

◆ float32_t3x4

typedef matrix<float32_t, 3, 4> hlsl::float32_t3x4

Definition at line 346 of file hlsl_basic_types.h.

◆ float32_t4

typedef vector<float32_t, 4> hlsl::float32_t4

Definition at line 112 of file hlsl_basic_types.h.

◆ float32_t4x1

typedef matrix<float32_t, 4, 1> hlsl::float32_t4x1

Definition at line 347 of file hlsl_basic_types.h.

◆ float32_t4x2

typedef matrix<float32_t, 4, 2> hlsl::float32_t4x2

Definition at line 348 of file hlsl_basic_types.h.

◆ float32_t4x3

typedef matrix<float32_t, 4, 3> hlsl::float32_t4x3

Definition at line 349 of file hlsl_basic_types.h.

◆ float32_t4x4

typedef matrix<float32_t, 4, 4> hlsl::float32_t4x4

Definition at line 350 of file hlsl_basic_types.h.

◆ float3x1

typedef matrix<float, 3, 1> hlsl::float3x1

Definition at line 291 of file hlsl_basic_types.h.

◆ float3x2

typedef matrix<float, 3, 2> hlsl::float3x2

Definition at line 292 of file hlsl_basic_types.h.

◆ float3x3

typedef matrix<float, 3, 3> hlsl::float3x3

Definition at line 293 of file hlsl_basic_types.h.

◆ float3x4

typedef matrix<float, 3, 4> hlsl::float3x4

Definition at line 294 of file hlsl_basic_types.h.

◆ float4

typedef vector<float, 4> hlsl::float4

Definition at line 96 of file hlsl_basic_types.h.

◆ float4x1

typedef matrix<float, 4, 1> hlsl::float4x1

Definition at line 295 of file hlsl_basic_types.h.

◆ float4x2

typedef matrix<float, 4, 2> hlsl::float4x2

Definition at line 296 of file hlsl_basic_types.h.

◆ float4x3

typedef matrix<float, 4, 3> hlsl::float4x3

Definition at line 297 of file hlsl_basic_types.h.

◆ float4x4

typedef matrix<float, 4, 4> hlsl::float4x4

Definition at line 298 of file hlsl_basic_types.h.

◆ float64_t

Definition at line 46 of file hlsl_basic_types.h.

◆ float64_t1

typedef vector<float64_t, 1> hlsl::float64_t1

Definition at line 113 of file hlsl_basic_types.h.

◆ float64_t1x1

typedef matrix<float64_t, 1, 1> hlsl::float64_t1x1

Definition at line 351 of file hlsl_basic_types.h.

◆ float64_t1x2

typedef matrix<float64_t, 1, 2> hlsl::float64_t1x2

Definition at line 352 of file hlsl_basic_types.h.

◆ float64_t1x3

typedef matrix<float64_t, 1, 3> hlsl::float64_t1x3

Definition at line 353 of file hlsl_basic_types.h.

◆ float64_t1x4

typedef matrix<float64_t, 1, 4> hlsl::float64_t1x4

Definition at line 354 of file hlsl_basic_types.h.

◆ float64_t2

typedef vector<float64_t, 2> hlsl::float64_t2

Definition at line 114 of file hlsl_basic_types.h.

◆ float64_t2x1

typedef matrix<float64_t, 2, 1> hlsl::float64_t2x1

Definition at line 355 of file hlsl_basic_types.h.

◆ float64_t2x2

typedef matrix<float64_t, 2, 2> hlsl::float64_t2x2

Definition at line 356 of file hlsl_basic_types.h.

◆ float64_t2x3

typedef matrix<float64_t, 2, 3> hlsl::float64_t2x3

Definition at line 357 of file hlsl_basic_types.h.

◆ float64_t2x4

typedef matrix<float64_t, 2, 4> hlsl::float64_t2x4

Definition at line 358 of file hlsl_basic_types.h.

◆ float64_t3

typedef vector<float64_t, 3> hlsl::float64_t3

Definition at line 115 of file hlsl_basic_types.h.

◆ float64_t3x1

typedef matrix<float64_t, 3, 1> hlsl::float64_t3x1

Definition at line 359 of file hlsl_basic_types.h.

◆ float64_t3x2

typedef matrix<float64_t, 3, 2> hlsl::float64_t3x2

Definition at line 360 of file hlsl_basic_types.h.

◆ float64_t3x3

typedef matrix<float64_t, 3, 3> hlsl::float64_t3x3

Definition at line 361 of file hlsl_basic_types.h.

◆ float64_t3x4

typedef matrix<float64_t, 3, 4> hlsl::float64_t3x4

Definition at line 362 of file hlsl_basic_types.h.

◆ float64_t4

typedef vector<float64_t, 4> hlsl::float64_t4

Definition at line 116 of file hlsl_basic_types.h.

◆ float64_t4x1

typedef matrix<float64_t, 4, 1> hlsl::float64_t4x1

Definition at line 363 of file hlsl_basic_types.h.

◆ float64_t4x2

typedef matrix<float64_t, 4, 2> hlsl::float64_t4x2

Definition at line 364 of file hlsl_basic_types.h.

◆ float64_t4x3

typedef matrix<float64_t, 4, 3> hlsl::float64_t4x3

Definition at line 365 of file hlsl_basic_types.h.

◆ float64_t4x4

typedef matrix<float64_t, 4, 4> hlsl::float64_t4x4

Definition at line 366 of file hlsl_basic_types.h.

◆ half1

typedef vector<half, 1> hlsl::half1

Definition at line 89 of file hlsl_basic_types.h.

◆ half1x1

typedef matrix<half, 1, 1> hlsl::half1x1

Definition at line 267 of file hlsl_basic_types.h.

◆ half1x2

typedef matrix<half, 1, 2> hlsl::half1x2

Definition at line 268 of file hlsl_basic_types.h.

◆ half1x3

typedef matrix<half, 1, 3> hlsl::half1x3

Definition at line 269 of file hlsl_basic_types.h.

◆ half1x4

typedef matrix<half, 1, 4> hlsl::half1x4

Definition at line 270 of file hlsl_basic_types.h.

◆ half2

typedef vector<half, 2> hlsl::half2

Definition at line 90 of file hlsl_basic_types.h.

◆ half2x1

typedef matrix<half, 2, 1> hlsl::half2x1

Definition at line 271 of file hlsl_basic_types.h.

◆ half2x2

typedef matrix<half, 2, 2> hlsl::half2x2

Definition at line 272 of file hlsl_basic_types.h.

◆ half2x3

typedef matrix<half, 2, 3> hlsl::half2x3

Definition at line 273 of file hlsl_basic_types.h.

◆ half2x4

typedef matrix<half, 2, 4> hlsl::half2x4

Definition at line 274 of file hlsl_basic_types.h.

◆ half3

typedef vector<half, 3> hlsl::half3

Definition at line 91 of file hlsl_basic_types.h.

◆ half3x1

typedef matrix<half, 3, 1> hlsl::half3x1

Definition at line 275 of file hlsl_basic_types.h.

◆ half3x2

typedef matrix<half, 3, 2> hlsl::half3x2

Definition at line 276 of file hlsl_basic_types.h.

◆ half3x3

typedef matrix<half, 3, 3> hlsl::half3x3

Definition at line 277 of file hlsl_basic_types.h.

◆ half3x4

typedef matrix<half, 3, 4> hlsl::half3x4

Definition at line 278 of file hlsl_basic_types.h.

◆ half4

typedef vector<half, 4> hlsl::half4

Definition at line 92 of file hlsl_basic_types.h.

◆ half4x1

typedef matrix<half, 4, 1> hlsl::half4x1

Definition at line 279 of file hlsl_basic_types.h.

◆ half4x2

typedef matrix<half, 4, 2> hlsl::half4x2

Definition at line 280 of file hlsl_basic_types.h.

◆ half4x3

typedef matrix<half, 4, 3> hlsl::half4x3

Definition at line 281 of file hlsl_basic_types.h.

◆ half4x4

typedef matrix<half, 4, 4> hlsl::half4x4

Definition at line 282 of file hlsl_basic_types.h.

◆ int1

typedef vector<int, 1> hlsl::int1

Definition at line 64 of file hlsl_basic_types.h.

◆ int1x1

typedef matrix<int, 1, 1> hlsl::int1x1

Definition at line 170 of file hlsl_basic_types.h.

◆ int1x2

typedef matrix<int, 1, 2> hlsl::int1x2

Definition at line 171 of file hlsl_basic_types.h.

◆ int1x3

typedef matrix<int, 1, 3> hlsl::int1x3

Definition at line 172 of file hlsl_basic_types.h.

◆ int1x4

typedef matrix<int, 1, 4> hlsl::int1x4

Definition at line 173 of file hlsl_basic_types.h.

◆ int2

typedef vector<int, 2> hlsl::int2

Definition at line 65 of file hlsl_basic_types.h.

◆ int2x1

typedef matrix<int, 2, 1> hlsl::int2x1

Definition at line 174 of file hlsl_basic_types.h.

◆ int2x2

typedef matrix<int, 2, 2> hlsl::int2x2

Definition at line 175 of file hlsl_basic_types.h.

◆ int2x3

typedef matrix<int, 2, 3> hlsl::int2x3

Definition at line 176 of file hlsl_basic_types.h.

◆ int2x4

typedef matrix<int, 2, 4> hlsl::int2x4

Definition at line 177 of file hlsl_basic_types.h.

◆ int3

typedef vector<int, 3> hlsl::int3

Definition at line 66 of file hlsl_basic_types.h.

◆ int32_t

typedef int hlsl::int32_t

Definition at line 32 of file hlsl_basic_types.h.

◆ int32_t1

typedef vector<int32_t, 1> hlsl::int32_t1

Definition at line 72 of file hlsl_basic_types.h.

◆ int32_t1x1

typedef matrix<int32_t, 1, 1> hlsl::int32_t1x1

Definition at line 202 of file hlsl_basic_types.h.

◆ int32_t1x2

typedef matrix<int32_t, 1, 2> hlsl::int32_t1x2

Definition at line 203 of file hlsl_basic_types.h.

◆ int32_t1x3

typedef matrix<int32_t, 1, 3> hlsl::int32_t1x3

Definition at line 204 of file hlsl_basic_types.h.

◆ int32_t1x4

typedef matrix<int32_t, 1, 4> hlsl::int32_t1x4

Definition at line 205 of file hlsl_basic_types.h.

◆ int32_t2

typedef vector<int32_t, 2> hlsl::int32_t2

Definition at line 73 of file hlsl_basic_types.h.

◆ int32_t2x1

typedef matrix<int32_t, 2, 1> hlsl::int32_t2x1

Definition at line 206 of file hlsl_basic_types.h.

◆ int32_t2x2

typedef matrix<int32_t, 2, 2> hlsl::int32_t2x2

Definition at line 207 of file hlsl_basic_types.h.

◆ int32_t2x3

typedef matrix<int32_t, 2, 3> hlsl::int32_t2x3

Definition at line 208 of file hlsl_basic_types.h.

◆ int32_t2x4

typedef matrix<int32_t, 2, 4> hlsl::int32_t2x4

Definition at line 209 of file hlsl_basic_types.h.

◆ int32_t3

typedef vector<int32_t, 3> hlsl::int32_t3

Definition at line 74 of file hlsl_basic_types.h.

◆ int32_t3x1

typedef matrix<int32_t, 3, 1> hlsl::int32_t3x1

Definition at line 210 of file hlsl_basic_types.h.

◆ int32_t3x2

typedef matrix<int32_t, 3, 2> hlsl::int32_t3x2

Definition at line 211 of file hlsl_basic_types.h.

◆ int32_t3x3

typedef matrix<int32_t, 3, 3> hlsl::int32_t3x3

Definition at line 212 of file hlsl_basic_types.h.

◆ int32_t3x4

typedef matrix<int32_t, 3, 4> hlsl::int32_t3x4

Definition at line 213 of file hlsl_basic_types.h.

◆ int32_t4

typedef vector<int32_t, 4> hlsl::int32_t4

Definition at line 75 of file hlsl_basic_types.h.

◆ int32_t4x1

typedef matrix<int32_t, 4, 1> hlsl::int32_t4x1

Definition at line 214 of file hlsl_basic_types.h.

◆ int32_t4x2

typedef matrix<int32_t, 4, 2> hlsl::int32_t4x2

Definition at line 215 of file hlsl_basic_types.h.

◆ int32_t4x3

typedef matrix<int32_t, 4, 3> hlsl::int32_t4x3

Definition at line 216 of file hlsl_basic_types.h.

◆ int32_t4x4

typedef matrix<int32_t, 4, 4> hlsl::int32_t4x4

Definition at line 217 of file hlsl_basic_types.h.

◆ int3x1

typedef matrix<int, 3, 1> hlsl::int3x1

Definition at line 178 of file hlsl_basic_types.h.

◆ int3x2

typedef matrix<int, 3, 2> hlsl::int3x2

Definition at line 179 of file hlsl_basic_types.h.

◆ int3x3

typedef matrix<int, 3, 3> hlsl::int3x3

Definition at line 180 of file hlsl_basic_types.h.

◆ int3x4

typedef matrix<int, 3, 4> hlsl::int3x4

Definition at line 181 of file hlsl_basic_types.h.

◆ int4

typedef vector<int, 4> hlsl::int4

Definition at line 67 of file hlsl_basic_types.h.

◆ int4x1

typedef matrix<int, 4, 1> hlsl::int4x1

Definition at line 182 of file hlsl_basic_types.h.

◆ int4x2

typedef matrix<int, 4, 2> hlsl::int4x2

Definition at line 183 of file hlsl_basic_types.h.

◆ int4x3

typedef matrix<int, 4, 3> hlsl::int4x3

Definition at line 184 of file hlsl_basic_types.h.

◆ int4x4

typedef matrix<int, 4, 4> hlsl::int4x4

Definition at line 185 of file hlsl_basic_types.h.

◆ int64_t

typedef long hlsl::int64_t

Definition at line 43 of file hlsl_basic_types.h.

◆ int64_t1

typedef vector<int64_t, 1> hlsl::int64_t1

Definition at line 80 of file hlsl_basic_types.h.

◆ int64_t1x1

typedef matrix<int64_t, 1, 1> hlsl::int64_t1x1

Definition at line 234 of file hlsl_basic_types.h.

◆ int64_t1x2

typedef matrix<int64_t, 1, 2> hlsl::int64_t1x2

Definition at line 235 of file hlsl_basic_types.h.

◆ int64_t1x3

typedef matrix<int64_t, 1, 3> hlsl::int64_t1x3

Definition at line 236 of file hlsl_basic_types.h.

◆ int64_t1x4

typedef matrix<int64_t, 1, 4> hlsl::int64_t1x4

Definition at line 237 of file hlsl_basic_types.h.

◆ int64_t2

typedef vector<int64_t, 2> hlsl::int64_t2

Definition at line 81 of file hlsl_basic_types.h.

◆ int64_t2x1

typedef matrix<int64_t, 2, 1> hlsl::int64_t2x1

Definition at line 238 of file hlsl_basic_types.h.

◆ int64_t2x2

typedef matrix<int64_t, 2, 2> hlsl::int64_t2x2

Definition at line 239 of file hlsl_basic_types.h.

◆ int64_t2x3

typedef matrix<int64_t, 2, 3> hlsl::int64_t2x3

Definition at line 240 of file hlsl_basic_types.h.

◆ int64_t2x4

typedef matrix<int64_t, 2, 4> hlsl::int64_t2x4

Definition at line 241 of file hlsl_basic_types.h.

◆ int64_t3

typedef vector<int64_t, 3> hlsl::int64_t3

Definition at line 82 of file hlsl_basic_types.h.

◆ int64_t3x1

typedef matrix<int64_t, 3, 1> hlsl::int64_t3x1

Definition at line 242 of file hlsl_basic_types.h.

◆ int64_t3x2

typedef matrix<int64_t, 3, 2> hlsl::int64_t3x2

Definition at line 243 of file hlsl_basic_types.h.

◆ int64_t3x3

typedef matrix<int64_t, 3, 3> hlsl::int64_t3x3

Definition at line 244 of file hlsl_basic_types.h.

◆ int64_t3x4

typedef matrix<int64_t, 3, 4> hlsl::int64_t3x4

Definition at line 245 of file hlsl_basic_types.h.

◆ int64_t4

typedef vector<int64_t, 4> hlsl::int64_t4

Definition at line 83 of file hlsl_basic_types.h.

◆ int64_t4x1

typedef matrix<int64_t, 4, 1> hlsl::int64_t4x1

Definition at line 246 of file hlsl_basic_types.h.

◆ int64_t4x2

typedef matrix<int64_t, 4, 2> hlsl::int64_t4x2

Definition at line 247 of file hlsl_basic_types.h.

◆ int64_t4x3

typedef matrix<int64_t, 4, 3> hlsl::int64_t4x3

Definition at line 248 of file hlsl_basic_types.h.

◆ int64_t4x4

typedef matrix<int64_t, 4, 4> hlsl::int64_t4x4

Definition at line 249 of file hlsl_basic_types.h.

◆ uint

An unsigned 32-bit integer.

Definition at line 35 of file hlsl_basic_types.h.

◆ uint1

typedef vector<uint, 1> hlsl::uint1

Definition at line 68 of file hlsl_basic_types.h.

◆ uint1x1

typedef matrix<uint, 1, 1> hlsl::uint1x1

Definition at line 186 of file hlsl_basic_types.h.

◆ uint1x2

typedef matrix<uint, 1, 2> hlsl::uint1x2

Definition at line 187 of file hlsl_basic_types.h.

◆ uint1x3

typedef matrix<uint, 1, 3> hlsl::uint1x3

Definition at line 188 of file hlsl_basic_types.h.

◆ uint1x4

typedef matrix<uint, 1, 4> hlsl::uint1x4

Definition at line 189 of file hlsl_basic_types.h.

◆ uint2

typedef vector<uint, 2> hlsl::uint2

Definition at line 69 of file hlsl_basic_types.h.

◆ uint2x1

typedef matrix<uint, 2, 1> hlsl::uint2x1

Definition at line 190 of file hlsl_basic_types.h.

◆ uint2x2

typedef matrix<uint, 2, 2> hlsl::uint2x2

Definition at line 191 of file hlsl_basic_types.h.

◆ uint2x3

typedef matrix<uint, 2, 3> hlsl::uint2x3

Definition at line 192 of file hlsl_basic_types.h.

◆ uint2x4

typedef matrix<uint, 2, 4> hlsl::uint2x4

Definition at line 193 of file hlsl_basic_types.h.

◆ uint3

typedef vector<uint, 3> hlsl::uint3

Definition at line 70 of file hlsl_basic_types.h.

◆ uint32_t

Definition at line 36 of file hlsl_basic_types.h.

◆ uint32_t1

typedef vector<uint32_t, 1> hlsl::uint32_t1

Definition at line 76 of file hlsl_basic_types.h.

◆ uint32_t1x1

typedef matrix<uint32_t, 1, 1> hlsl::uint32_t1x1

Definition at line 218 of file hlsl_basic_types.h.

◆ uint32_t1x2

typedef matrix<uint32_t, 1, 2> hlsl::uint32_t1x2

Definition at line 219 of file hlsl_basic_types.h.

◆ uint32_t1x3

typedef matrix<uint32_t, 1, 3> hlsl::uint32_t1x3

Definition at line 220 of file hlsl_basic_types.h.

◆ uint32_t1x4

typedef matrix<uint32_t, 1, 4> hlsl::uint32_t1x4

Definition at line 221 of file hlsl_basic_types.h.

◆ uint32_t2

typedef vector<uint32_t, 2> hlsl::uint32_t2

Definition at line 77 of file hlsl_basic_types.h.

◆ uint32_t2x1

typedef matrix<uint32_t, 2, 1> hlsl::uint32_t2x1

Definition at line 222 of file hlsl_basic_types.h.

◆ uint32_t2x2

typedef matrix<uint32_t, 2, 2> hlsl::uint32_t2x2

Definition at line 223 of file hlsl_basic_types.h.

◆ uint32_t2x3

typedef matrix<uint32_t, 2, 3> hlsl::uint32_t2x3

Definition at line 224 of file hlsl_basic_types.h.

◆ uint32_t2x4

typedef matrix<uint32_t, 2, 4> hlsl::uint32_t2x4

Definition at line 225 of file hlsl_basic_types.h.

◆ uint32_t3

typedef vector<uint32_t, 3> hlsl::uint32_t3

Definition at line 78 of file hlsl_basic_types.h.

◆ uint32_t3x1

typedef matrix<uint32_t, 3, 1> hlsl::uint32_t3x1

Definition at line 226 of file hlsl_basic_types.h.

◆ uint32_t3x2

typedef matrix<uint32_t, 3, 2> hlsl::uint32_t3x2

Definition at line 227 of file hlsl_basic_types.h.

◆ uint32_t3x3

typedef matrix<uint32_t, 3, 3> hlsl::uint32_t3x3

Definition at line 228 of file hlsl_basic_types.h.

◆ uint32_t3x4

typedef matrix<uint32_t, 3, 4> hlsl::uint32_t3x4

Definition at line 229 of file hlsl_basic_types.h.

◆ uint32_t4

typedef vector<uint32_t, 4> hlsl::uint32_t4

Definition at line 79 of file hlsl_basic_types.h.

◆ uint32_t4x1

typedef matrix<uint32_t, 4, 1> hlsl::uint32_t4x1

Definition at line 230 of file hlsl_basic_types.h.

◆ uint32_t4x2

typedef matrix<uint32_t, 4, 2> hlsl::uint32_t4x2

Definition at line 231 of file hlsl_basic_types.h.

◆ uint32_t4x3

typedef matrix<uint32_t, 4, 3> hlsl::uint32_t4x3

Definition at line 232 of file hlsl_basic_types.h.

◆ uint32_t4x4

typedef matrix<uint32_t, 4, 4> hlsl::uint32_t4x4

Definition at line 233 of file hlsl_basic_types.h.

◆ uint3x1

typedef matrix<uint, 3, 1> hlsl::uint3x1

Definition at line 194 of file hlsl_basic_types.h.

◆ uint3x2

typedef matrix<uint, 3, 2> hlsl::uint3x2

Definition at line 195 of file hlsl_basic_types.h.

◆ uint3x3

typedef matrix<uint, 3, 3> hlsl::uint3x3

Definition at line 196 of file hlsl_basic_types.h.

◆ uint3x4

typedef matrix<uint, 3, 4> hlsl::uint3x4

Definition at line 197 of file hlsl_basic_types.h.

◆ uint4

typedef vector<uint, 4> hlsl::uint4

Definition at line 71 of file hlsl_basic_types.h.

◆ uint4x1

typedef matrix<uint, 4, 1> hlsl::uint4x1

Definition at line 198 of file hlsl_basic_types.h.

◆ uint4x2

typedef matrix<uint, 4, 2> hlsl::uint4x2

Definition at line 199 of file hlsl_basic_types.h.

◆ uint4x3

typedef matrix<uint, 4, 3> hlsl::uint4x3

Definition at line 200 of file hlsl_basic_types.h.

◆ uint4x4

typedef matrix<uint, 4, 4> hlsl::uint4x4

Definition at line 201 of file hlsl_basic_types.h.

◆ uint64_t

typedef unsigned long hlsl::uint64_t

Definition at line 42 of file hlsl_basic_types.h.

◆ uint64_t1

typedef vector<uint64_t, 1> hlsl::uint64_t1

Definition at line 84 of file hlsl_basic_types.h.

◆ uint64_t1x1

typedef matrix<uint64_t, 1, 1> hlsl::uint64_t1x1

Definition at line 250 of file hlsl_basic_types.h.

◆ uint64_t1x2

typedef matrix<uint64_t, 1, 2> hlsl::uint64_t1x2

Definition at line 251 of file hlsl_basic_types.h.

◆ uint64_t1x3

typedef matrix<uint64_t, 1, 3> hlsl::uint64_t1x3

Definition at line 252 of file hlsl_basic_types.h.

◆ uint64_t1x4

typedef matrix<uint64_t, 1, 4> hlsl::uint64_t1x4

Definition at line 253 of file hlsl_basic_types.h.

◆ uint64_t2

typedef vector<uint64_t, 2> hlsl::uint64_t2

Definition at line 85 of file hlsl_basic_types.h.

◆ uint64_t2x1

typedef matrix<uint64_t, 2, 1> hlsl::uint64_t2x1

Definition at line 254 of file hlsl_basic_types.h.

◆ uint64_t2x2

typedef matrix<uint64_t, 2, 2> hlsl::uint64_t2x2

Definition at line 255 of file hlsl_basic_types.h.

◆ uint64_t2x3

typedef matrix<uint64_t, 2, 3> hlsl::uint64_t2x3

Definition at line 256 of file hlsl_basic_types.h.

◆ uint64_t2x4

typedef matrix<uint64_t, 2, 4> hlsl::uint64_t2x4

Definition at line 257 of file hlsl_basic_types.h.

◆ uint64_t3

typedef vector<uint64_t, 3> hlsl::uint64_t3

Definition at line 86 of file hlsl_basic_types.h.

◆ uint64_t3x1

typedef matrix<uint64_t, 3, 1> hlsl::uint64_t3x1

Definition at line 258 of file hlsl_basic_types.h.

◆ uint64_t3x2

typedef matrix<uint64_t, 3, 2> hlsl::uint64_t3x2

Definition at line 259 of file hlsl_basic_types.h.

◆ uint64_t3x3

typedef matrix<uint64_t, 3, 3> hlsl::uint64_t3x3

Definition at line 260 of file hlsl_basic_types.h.

◆ uint64_t3x4

typedef matrix<uint64_t, 3, 4> hlsl::uint64_t3x4

Definition at line 261 of file hlsl_basic_types.h.

◆ uint64_t4

typedef vector<uint64_t, 4> hlsl::uint64_t4

Definition at line 87 of file hlsl_basic_types.h.

◆ uint64_t4x1

typedef matrix<uint64_t, 4, 1> hlsl::uint64_t4x1

Definition at line 262 of file hlsl_basic_types.h.

◆ uint64_t4x2

typedef matrix<uint64_t, 4, 2> hlsl::uint64_t4x2

Definition at line 263 of file hlsl_basic_types.h.

◆ uint64_t4x3

typedef matrix<uint64_t, 4, 3> hlsl::uint64_t4x3

Definition at line 264 of file hlsl_basic_types.h.

◆ uint64_t4x4

typedef matrix<uint64_t, 4, 4> hlsl::uint64_t4x4

Definition at line 265 of file hlsl_basic_types.h.

Function Documentation

◆ _HLSL_BUILTIN_ALIAS() [1/3]

template<int R, int K, int C>
hlsl::_HLSL_BUILTIN_ALIAS ( __builtin_hlsl_mul )

References _HLSL_BUILTIN_ALIAS(), C, mul(), and R.

◆ _HLSL_BUILTIN_ALIAS() [2/3]

◆ _HLSL_BUILTIN_ALIAS() [3/3]

template<int R, int C>
hlsl::_HLSL_BUILTIN_ALIAS ( __builtin_hlsl_transpose )

References _HLSL_BUILTIN_ALIAS(), C, R, and transpose().

◆ asfloat() [1/2]

template<typename T>
float hlsl::asfloat ( T Val)
constexpr

Interprets the bit pattern of x as float point number.

Parameters
ValThe input value.

Definition at line 32 of file hlsl_intrinsics.h.

References hlsl::__detail::bit_cast().

◆ asfloat() [2/2]

template<typename T, int N>
vector< float, N > hlsl::asfloat ( vector< T, N > V)
constexpr

Definition at line 28 of file hlsl_intrinsics.h.

References hlsl::__detail::bit_cast(), and V.

◆ asint() [1/2]

template<typename T>
int hlsl::asint ( T Val)
constexpr

Interprets the bit pattern of x as an integer.

Parameters
ValThe input value.

Definition at line 48 of file hlsl_intrinsics.h.

References hlsl::__detail::bit_cast().

◆ asint() [2/2]

template<typename T, int N>
vector< int, N > hlsl::asint ( vector< T, N > V)
constexpr

Definition at line 44 of file hlsl_intrinsics.h.

References hlsl::__detail::bit_cast(), and V.

◆ asuint() [1/6]

void hlsl::asuint ( double ,
out uint,
out uint )

References _HLSL_BUILTIN_ALIAS(), and asuint().

◆ asuint() [2/6]

void hlsl::asuint ( double2 ,
out uint2,
out uint2 )

References _HLSL_BUILTIN_ALIAS(), and asuint().

◆ asuint() [3/6]

void hlsl::asuint ( double3 ,
out uint3,
out uint3 )

References _HLSL_BUILTIN_ALIAS(), and asuint().

◆ asuint() [4/6]

void hlsl::asuint ( double4 ,
out uint4,
out uint4 )

◆ asuint() [5/6]

template<typename T>
uint hlsl::asuint ( T Val)
constexpr

Interprets the bit pattern of x as an unsigned integer.

Parameters
ValThe input value.

Definition at line 93 of file hlsl_intrinsics.h.

References hlsl::__detail::bit_cast().

◆ asuint() [6/6]

template<typename T, int N>
vector< uint, N > hlsl::asuint ( vector< T, N > V)
constexpr

Definition at line 89 of file hlsl_intrinsics.h.

References hlsl::__detail::bit_cast(), and V.

Referenced by asuint(), asuint(), asuint(), and asuint().

◆ clamp() [1/3]

template<typename T, uint N>
__detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > hlsl::clamp ( vector< T, N > p0,
T p1,
T p2 )
constexpr

Definition at line 288 of file hlsl_compat_overloads.h.

References clamp().

◆ clamp() [2/3]

template<typename T, uint N>
__detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > hlsl::clamp ( vector< T, N > p0,
T p1,
vector< T, N > p2 )
constexpr

Definition at line 281 of file hlsl_compat_overloads.h.

References clamp().

◆ clamp() [3/3]

template<typename T, uint N>
__detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > hlsl::clamp ( vector< T, N > p0,
vector< T, N > p1,
T p2 )
constexpr

Definition at line 274 of file hlsl_compat_overloads.h.

References clamp().

Referenced by clamp(), clamp(), and clamp().

◆ firstbithigh() [1/4]

template<typename T>
const __detail::enable_if_t< __detail::is_same< int, T >::value||__detail::is_same< uint, T >::value, uint > hlsl::firstbithigh ( T Val)
inline

Returns the location of the first set bit starting from the lowest order bit and working upward, per component.

Parameters
Valthe input value.

Definition at line 177 of file hlsl_intrinsics.h.

References hlsl::__detail::firstbithigh_impl(), and X.

◆ firstbithigh() [2/4]

template<typename T>
const __detail::enable_if_t< __detail::is_same< int64_t, T >::value||__detail::is_same< uint64_t, T >::value, uint > hlsl::firstbithigh ( T X)
inline

Definition at line 193 of file hlsl_intrinsics.h.

References hlsl::__detail::firstbithigh_impl(), and X.

◆ firstbithigh() [3/4]

template<typename T, int N>
const __detail::enable_if_t< __detail::is_same< int, T >::value||__detail::is_same< uint, T >::value, vector< uint, N > > hlsl::firstbithigh ( vector< T, N > X)
inline

Definition at line 185 of file hlsl_intrinsics.h.

References hlsl::__detail::firstbithigh_impl(), and X.

◆ firstbithigh() [4/4]

template<typename T, int N>
const __detail::enable_if_t< __detail::is_same< int64_t, T >::value||__detail::is_same< uint64_t, T >::value, vector< uint, N > > hlsl::firstbithigh ( vector< T, N > X)
inline

Definition at line 201 of file hlsl_intrinsics.h.

References hlsl::__detail::firstbithigh_impl(), and X.

◆ isinf() [1/4]

bool hlsl::isinf ( double V)
constexpr

Definition at line 347 of file hlsl_compat_overloads.h.

References isinf(), and V.

Referenced by isinf(), isinf(), isinf(), and isinf().

◆ isinf() [2/4]

bool2 hlsl::isinf ( double2 V)
constexpr

Definition at line 349 of file hlsl_compat_overloads.h.

References isinf(), and V.

◆ isinf() [3/4]

bool3 hlsl::isinf ( double3 V)
constexpr

Definition at line 351 of file hlsl_compat_overloads.h.

References isinf(), and V.

◆ isinf() [4/4]

bool4 hlsl::isinf ( double4 V)
constexpr

Definition at line 353 of file hlsl_compat_overloads.h.

References isinf(), and V.

◆ isnan() [1/4]

bool hlsl::isnan ( double V)
constexpr

Definition at line 359 of file hlsl_compat_overloads.h.

References isnan(), and V.

Referenced by isnan(), isnan(), isnan(), and isnan().

◆ isnan() [2/4]

bool2 hlsl::isnan ( double2 V)
constexpr

Definition at line 360 of file hlsl_compat_overloads.h.

References isnan(), and V.

◆ isnan() [3/4]

bool3 hlsl::isnan ( double3 V)
constexpr

Definition at line 361 of file hlsl_compat_overloads.h.

References isnan(), and V.

◆ isnan() [4/4]

bool4 hlsl::isnan ( double4 V)
constexpr

Definition at line 362 of file hlsl_compat_overloads.h.

References isnan(), and V.

◆ lerp()

template<typename T, uint N>
__detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > hlsl::lerp ( vector< T, N > x,
vector< T, N > y,
T s )
constexpr

Definition at line 370 of file hlsl_compat_overloads.h.

References lerp(), and s.

Referenced by lerp().

◆ max() [1/2]

template<typename T, uint N>
__detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > hlsl::max ( T p0,
vector< T, N > p1 )
constexpr

Definition at line 412 of file hlsl_compat_overloads.h.

References max().

◆ max() [2/2]

template<typename T, uint N>
__detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > hlsl::max ( vector< T, N > p0,
T p1 )
constexpr

Definition at line 405 of file hlsl_compat_overloads.h.

References max().

Referenced by max(), and max().

◆ min() [1/2]

template<typename T, uint N>
__detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > hlsl::min ( T p0,
vector< T, N > p1 )
constexpr

Definition at line 430 of file hlsl_compat_overloads.h.

References min().

◆ min() [2/2]

template<typename T, uint N>
__detail::enable_if_t<(N > 1 &&N<=4), vector< T, N > > hlsl::min ( vector< T, N > p0,
T p1 )
constexpr

Definition at line 423 of file hlsl_compat_overloads.h.

References min().

Referenced by min(), and min().

◆ mul() [1/18]

template<int R, int C>
matrix< half, R, C > hlsl::mul ( half x,
matrix< half, R, C > y )
constexpr

Definition at line 269 of file hlsl_intrinsics.h.

References C, mul(), and R.

◆ mul() [2/18]

template<int N>
vector< half, N > hlsl::mul ( half x,
vector< half, N > y )
constexpr

Definition at line 258 of file hlsl_intrinsics.h.

References mul().

◆ mul() [3/18]

template<int R, int C>
matrix< half, R, C > hlsl::mul ( matrix< half, R, C > x,
half y )
constexpr

Definition at line 303 of file hlsl_intrinsics.h.

References C, mul(), and R.

◆ mul() [4/18]

R hlsl::mul ( matrix< half, R, C > ,
vector< half, C >  )

References _HLSL_BUILTIN_ALIAS(), C, mul(), and R.

◆ mul() [5/18]

C hlsl::mul ( matrix< half, R, K > ,
matrix< half, K, C >  )

◆ mul() [6/18]

template<typename T, int R, int C>
matrix< T, R, C > hlsl::mul ( matrix< T, R, C > x,
T y )
constexpr

Definition at line 308 of file hlsl_intrinsics.h.

◆ mul() [7/18]

template<typename T, int R, int C>
vector< T, R > hlsl::mul ( matrix< T, R, C > ,
vector< T, C >  )

◆ mul() [8/18]

template<typename T, int R, int K, int C>
matrix< T, R, C > hlsl::mul ( matrix< T, R, K > ,
matrix< T, K, C >  )

References _HLSL_16BIT_AVAILABILITY, C, mul(), and R.

◆ mul() [9/18]

template<typename T, int R, int C>
matrix< T, R, C > hlsl::mul ( T x,
matrix< T, R, C > y )
constexpr

Definition at line 274 of file hlsl_intrinsics.h.

◆ mul() [10/18]

template<typename T>
__detail::enable_if_t< __detail::is_arithmetic< T >::Value &&__detail::is_same< half, T >::value, T > hlsl::mul ( T x,
T y )
constexpr

Definition at line 244 of file hlsl_intrinsics.h.

References mul().

◆ mul() [11/18]

template<typename T>
__detail::enable_if_t< __detail::is_arithmetic< T >::Value &&!__detail::is_same< half, T >::value, T > hlsl::mul ( T x,
T y )
constexpr

Definition at line 251 of file hlsl_intrinsics.h.

◆ mul() [12/18]

template<typename T, int N>
vector< T, N > hlsl::mul ( T x,
vector< T, N > y )
constexpr

Definition at line 262 of file hlsl_intrinsics.h.

◆ mul() [13/18]

template<int N>
vector< half, N > hlsl::mul ( vector< half, N > x,
half y )
constexpr

Definition at line 281 of file hlsl_intrinsics.h.

References mul().

◆ mul() [14/18]

template<int N>
half hlsl::mul ( vector< half, N > x,
vector< half, N > y )

Definition at line 292 of file hlsl_intrinsics.h.

References mul(), and hlsl::__detail::mul_vec_impl().

◆ mul() [15/18]

C hlsl::mul ( vector< half, R > ,
matrix< half, R, C >  )

◆ mul() [16/18]

template<typename T, int N>
vector< T, N > hlsl::mul ( vector< T, N > x,
T y )
constexpr

Definition at line 285 of file hlsl_intrinsics.h.

◆ mul() [17/18]

template<typename T, int N>
T hlsl::mul ( vector< T, N > x,
vector< T, N > y )

Definition at line 296 of file hlsl_intrinsics.h.

References hlsl::__detail::mul_vec_impl().

◆ mul() [18/18]

template<typename T, int R, int C>
vector< T, C > hlsl::mul ( vector< T, R > ,
matrix< T, R, C >  )

◆ select() [1/13]

template<typename T>
T hlsl::select ( bool Cond,
T TrueVal,
T FalseVal )

◆ select() [2/13]

template<typename T>
__detail::enable_if_t< __detail::is_arithmetic< T >::Value, vector< T, 2 > > hlsl::select ( vector< bool, 2 > ,
T ,
T  )

References _HLSL_BUILTIN_ALIAS(), and select().

◆ select() [3/13]

template<typename T>
vector< T, 2 > hlsl::select ( vector< bool, 2 > ,
T ,
vector< T, 2 >  )

References _HLSL_BUILTIN_ALIAS(), and select().

◆ select() [4/13]

template<typename T>
vector< T, 2 > hlsl::select ( vector< bool, 2 > ,
vector< T, 2 > ,
T  )

References _HLSL_BUILTIN_ALIAS(), and select().

◆ select() [5/13]

template<typename T>
vector< T, 2 > hlsl::select ( vector< bool, 2 > ,
vector< T, 2 > ,
vector< T, 2 >  )

References _HLSL_BUILTIN_ALIAS(), and select().

◆ select() [6/13]

template<typename T>
__detail::enable_if_t< __detail::is_arithmetic< T >::Value, vector< T, 3 > > hlsl::select ( vector< bool, 3 > ,
T ,
T  )

References _HLSL_BUILTIN_ALIAS(), and select().

◆ select() [7/13]

template<typename T>
vector< T, 3 > hlsl::select ( vector< bool, 3 > ,
T ,
vector< T, 3 >  )

References _HLSL_BUILTIN_ALIAS(), and select().

◆ select() [8/13]

template<typename T>
vector< T, 3 > hlsl::select ( vector< bool, 3 > ,
vector< T, 3 > ,
T  )

References _HLSL_BUILTIN_ALIAS(), and select().

◆ select() [9/13]

template<typename T>
vector< T, 3 > hlsl::select ( vector< bool, 3 > ,
vector< T, 3 > ,
vector< T, 3 >  )

References _HLSL_BUILTIN_ALIAS(), and select().

◆ select() [10/13]

template<typename T>
__detail::enable_if_t< __detail::is_arithmetic< T >::Value, vector< T, 4 > > hlsl::select ( vector< bool, 4 > ,
T ,
T  )

References select().

◆ select() [11/13]

template<typename T>
vector< T, 4 > hlsl::select ( vector< bool, 4 > ,
T ,
vector< T, 4 >  )

References _HLSL_BUILTIN_ALIAS(), and select().

◆ select() [12/13]

template<typename T>
vector< T, 4 > hlsl::select ( vector< bool, 4 > ,
vector< T, 4 > ,
T  )

References _HLSL_BUILTIN_ALIAS(), and select().

◆ select() [13/13]

template<typename T>
vector< T, 4 > hlsl::select ( vector< bool, 4 > ,
vector< T, 4 > ,
vector< T, 4 >  )

References _HLSL_BUILTIN_ALIAS(), and select().

◆ transpose() [1/2]

R hlsl::transpose ( matrix< half, R, C > )

Referenced by _HLSL_BUILTIN_ALIAS(), and transpose().

◆ transpose() [2/2]

template<typename T, int R, int C>
matrix< T, C, R > hlsl::transpose ( matrix< T, R, C > x)

Returns the transpose of the input matrix.

Parameters
x[in] The input matrix.

References _HLSL_BUILTIN_ALIAS(), C, R, and transpose().

Variable Documentation

◆ C

◆ R