clang 18.0.0git
Typedefs | Functions
hlsl Namespace Reference

Typedefs

typedef unsigned int uint
 
typedef unsigned long uint64_t
 
typedef long int64_t
 
typedef vector< int, 2 > int2
 
typedef vector< int, 3 > int3
 
typedef vector< int, 4 > int4
 
typedef vector< uint, 2 > uint2
 
typedef vector< uint, 3 > uint3
 
typedef vector< uint, 4 > uint4
 
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, 2 > uint64_t2
 
typedef vector< uint64_t, 3 > uint64_t3
 
typedef vector< uint64_t, 4 > uint64_t4
 
typedef vector< float, 2 > float2
 
typedef vector< float, 3 > float3
 
typedef vector< float, 4 > float4
 
typedef vector< double, 2 > double2
 
typedef vector< double, 3 > double3
 
typedef vector< double, 4 > double4
 

Functions

int abs (int)
 
int2 abs (int2)
 
int3 abs (int3)
 
int4 abs (int4)
 
float abs (float)
 
float2 abs (float2)
 
float3 abs (float3)
 
float4 abs (float4)
 
int64_t abs (int64_t)
 
int64_t2 abs (int64_t2)
 
int64_t3 abs (int64_t3)
 
int64_t4 abs (int64_t4)
 
double abs (double)
 
double2 abs (double2)
 
double3 abs (double3)
 
double4 abs (double4)
 
float ceil (float)
 
float2 ceil (float2)
 
float3 ceil (float3)
 
float4 ceil (float4)
 
double ceil (double)
 
double2 ceil (double2)
 
double3 ceil (double3)
 
double4 ceil (double4)
 
float cos (float)
 
float2 cos (float2)
 
float3 cos (float3)
 
float4 cos (float4)
 
double cos (double)
 
double2 cos (double2)
 
double3 cos (double3)
 
double4 cos (double4)
 
float floor (float)
 
float2 floor (float2)
 
float3 floor (float3)
 
float4 floor (float4)
 
double floor (double)
 
double2 floor (double2)
 
double3 floor (double3)
 
double4 floor (double4)
 
float log (float)
 
float2 log (float2)
 
float3 log (float3)
 
float4 log (float4)
 
double log (double)
 
double2 log (double2)
 
double3 log (double3)
 
double4 log (double4)
 
float log10 (float)
 
float2 log10 (float2)
 
float3 log10 (float3)
 
float4 log10 (float4)
 
double log10 (double)
 
double2 log10 (double2)
 
double3 log10 (double3)
 
double4 log10 (double4)
 
float log2 (float)
 
float2 log2 (float2)
 
float3 log2 (float3)
 
float4 log2 (float4)
 
double log2 (double)
 
double2 log2 (double2)
 
double3 log2 (double3)
 
double4 log2 (double4)
 
int max (int, int)
 
int2 max (int2, int2)
 
int3 max (int3, int3)
 
int4 max (int4, int4)
 
uint max (uint, uint)
 
uint2 max (uint2, uint2)
 
uint3 max (uint3, uint3)
 
uint4 max (uint4, uint4)
 
int64_t max (int64_t, int64_t)
 
int64_t2 max (int64_t2, int64_t2)
 
int64_t3 max (int64_t3, int64_t3)
 
int64_t4 max (int64_t4, int64_t4)
 
uint64_t max (uint64_t, uint64_t)
 
uint64_t2 max (uint64_t2, uint64_t2)
 
uint64_t3 max (uint64_t3, uint64_t3)
 
uint64_t4 max (uint64_t4, uint64_t4)
 
float max (float, float)
 
float2 max (float2, float2)
 
float3 max (float3, float3)
 
float4 max (float4, float4)
 
double max (double, double)
 
double2 max (double2, double2)
 
double3 max (double3, double3)
 
double4 max (double4, double4)
 
int min (int, int)
 
int2 min (int2, int2)
 
int3 min (int3, int3)
 
int4 min (int4, int4)
 
uint min (uint, uint)
 
uint2 min (uint2, uint2)
 
uint3 min (uint3, uint3)
 
uint4 min (uint4, uint4)
 
float min (float, float)
 
float2 min (float2, float2)
 
float3 min (float3, float3)
 
float4 min (float4, float4)
 
int64_t min (int64_t, int64_t)
 
int64_t2 min (int64_t2, int64_t2)
 
int64_t3 min (int64_t3, int64_t3)
 
int64_t4 min (int64_t4, int64_t4)
 
uint64_t min (uint64_t, uint64_t)
 
uint64_t2 min (uint64_t2, uint64_t2)
 
uint64_t3 min (uint64_t3, uint64_t3)
 
uint64_t4 min (uint64_t4, uint64_t4)
 
double min (double, double)
 
double2 min (double2, double2)
 
double3 min (double3, double3)
 
double4 min (double4, double4)
 
float pow (float, float)
 
float2 pow (float2, float2)
 
float3 pow (float3, float3)
 
float4 pow (float4, float4)
 
double pow (double, double)
 
double2 pow (double2, double2)
 
double3 pow (double3, double3)
 
double4 pow (double4, double4)
 
int reversebits (int)
 
int2 reversebits (int2)
 
int3 reversebits (int3)
 
int4 reversebits (int4)
 
uint reversebits (uint)
 
uint2 reversebits (uint2)
 
uint3 reversebits (uint3)
 
uint4 reversebits (uint4)
 
int64_t reversebits (int64_t)
 
int64_t2 reversebits (int64_t2)
 
int64_t3 reversebits (int64_t3)
 
int64_t4 reversebits (int64_t4)
 
uint64_t reversebits (uint64_t)
 
uint64_t2 reversebits (uint64_t2)
 
uint64_t3 reversebits (uint64_t3)
 
uint64_t4 reversebits (uint64_t4)
 
float sin (float)
 
float2 sin (float2)
 
float3 sin (float3)
 
float4 sin (float4)
 
double sin (double)
 
double2 sin (double2)
 
double3 sin (double3)
 
double4 sin (double4)
 
float sqrt (float In)
 
double sqrt (double In)
 
float trunc (float)
 
float2 trunc (float2)
 
float3 trunc (float3)
 
float4 trunc (float4)
 
double trunc (double)
 
double2 trunc (double2)
 
double3 trunc (double3)
 
double4 trunc (double4)
 
uint WaveActiveCountBits (bool bBit)
 

Typedef Documentation

◆ double2

typedef vector<double, 2> hlsl::double2

Definition at line 61 of file hlsl_basic_types.h.

◆ double3

typedef vector<double, 3> hlsl::double3

Definition at line 62 of file hlsl_basic_types.h.

◆ double4

typedef vector<double, 4> hlsl::double4

Definition at line 63 of file hlsl_basic_types.h.

◆ float2

typedef vector<float, 2> hlsl::float2

Definition at line 58 of file hlsl_basic_types.h.

◆ float3

typedef vector<float, 3> hlsl::float3

Definition at line 59 of file hlsl_basic_types.h.

◆ float4

typedef vector<float, 4> hlsl::float4

Definition at line 60 of file hlsl_basic_types.h.

◆ int2

typedef vector<int, 2> hlsl::int2

Definition at line 39 of file hlsl_basic_types.h.

◆ int3

typedef vector<int, 3> hlsl::int3

Definition at line 40 of file hlsl_basic_types.h.

◆ int4

typedef vector<int, 4> hlsl::int4

Definition at line 41 of file hlsl_basic_types.h.

◆ int64_t

typedef long hlsl::int64_t

Definition at line 26 of file hlsl_basic_types.h.

◆ int64_t2

typedef vector<int64_t, 2> hlsl::int64_t2

Definition at line 45 of file hlsl_basic_types.h.

◆ int64_t3

typedef vector<int64_t, 3> hlsl::int64_t3

Definition at line 46 of file hlsl_basic_types.h.

◆ int64_t4

typedef vector<int64_t, 4> hlsl::int64_t4

Definition at line 47 of file hlsl_basic_types.h.

◆ uint

Definition at line 22 of file hlsl_basic_types.h.

◆ uint2

typedef vector<uint, 2> hlsl::uint2

Definition at line 42 of file hlsl_basic_types.h.

◆ uint3

typedef vector<uint, 3> hlsl::uint3

Definition at line 43 of file hlsl_basic_types.h.

◆ uint4

typedef vector<uint, 4> hlsl::uint4

Definition at line 44 of file hlsl_basic_types.h.

◆ uint64_t

typedef unsigned long hlsl::uint64_t

Definition at line 25 of file hlsl_basic_types.h.

◆ uint64_t2

typedef vector<uint64_t, 2> hlsl::uint64_t2

Definition at line 48 of file hlsl_basic_types.h.

◆ uint64_t3

typedef vector<uint64_t, 3> hlsl::uint64_t3

Definition at line 49 of file hlsl_basic_types.h.

◆ uint64_t4

typedef vector<uint64_t, 4> hlsl::uint64_t4

Definition at line 50 of file hlsl_basic_types.h.

Function Documentation

◆ abs() [1/16]

double hlsl::abs ( double  )

◆ abs() [2/16]

double2 hlsl::abs ( double2  )

◆ abs() [3/16]

double3 hlsl::abs ( double3  )

◆ abs() [4/16]

double4 hlsl::abs ( double4  )

◆ abs() [5/16]

float hlsl::abs ( float  )

◆ abs() [6/16]

float2 hlsl::abs ( float2  )

◆ abs() [7/16]

float3 hlsl::abs ( float3  )

◆ abs() [8/16]

float4 hlsl::abs ( float4  )

◆ abs() [9/16]

int hlsl::abs ( int  )

◆ abs() [10/16]

int2 hlsl::abs ( int2  )

◆ abs() [11/16]

int3 hlsl::abs ( int3  )

◆ abs() [12/16]

int4 hlsl::abs ( int4  )

◆ abs() [13/16]

int64_t hlsl::abs ( int64_t  )

◆ abs() [14/16]

int64_t2 hlsl::abs ( int64_t2  )

◆ abs() [15/16]

int64_t3 hlsl::abs ( int64_t3  )

◆ abs() [16/16]

int64_t4 hlsl::abs ( int64_t4  )

◆ ceil() [1/8]

double hlsl::ceil ( double  )

◆ ceil() [2/8]

double2 hlsl::ceil ( double2  )

◆ ceil() [3/8]

double3 hlsl::ceil ( double3  )

◆ ceil() [4/8]

double4 hlsl::ceil ( double4  )

◆ ceil() [5/8]

float hlsl::ceil ( float  )

◆ ceil() [6/8]

float2 hlsl::ceil ( float2  )

◆ ceil() [7/8]

float3 hlsl::ceil ( float3  )

◆ ceil() [8/8]

float4 hlsl::ceil ( float4  )

◆ cos() [1/8]

double hlsl::cos ( double  )

◆ cos() [2/8]

double2 hlsl::cos ( double2  )

◆ cos() [3/8]

double3 hlsl::cos ( double3  )

◆ cos() [4/8]

double4 hlsl::cos ( double4  )

◆ cos() [5/8]

float hlsl::cos ( float  )

◆ cos() [6/8]

float2 hlsl::cos ( float2  )

◆ cos() [7/8]

float3 hlsl::cos ( float3  )

◆ cos() [8/8]

float4 hlsl::cos ( float4  )

◆ floor() [1/8]

double hlsl::floor ( double  )

◆ floor() [2/8]

double2 hlsl::floor ( double2  )

◆ floor() [3/8]

double3 hlsl::floor ( double3  )

◆ floor() [4/8]

double4 hlsl::floor ( double4  )

◆ floor() [5/8]

float hlsl::floor ( float  )

◆ floor() [6/8]

float2 hlsl::floor ( float2  )

◆ floor() [7/8]

float3 hlsl::floor ( float3  )

◆ floor() [8/8]

float4 hlsl::floor ( float4  )

◆ log() [1/8]

double hlsl::log ( double  )

◆ log() [2/8]

double2 hlsl::log ( double2  )

◆ log() [3/8]

double3 hlsl::log ( double3  )

◆ log() [4/8]

double4 hlsl::log ( double4  )

◆ log() [5/8]

float hlsl::log ( float  )

◆ log() [6/8]

float2 hlsl::log ( float2  )

◆ log() [7/8]

float3 hlsl::log ( float3  )

◆ log() [8/8]

float4 hlsl::log ( float4  )

◆ log10() [1/8]

double hlsl::log10 ( double  )

◆ log10() [2/8]

double2 hlsl::log10 ( double2  )

◆ log10() [3/8]

double3 hlsl::log10 ( double3  )

◆ log10() [4/8]

double4 hlsl::log10 ( double4  )

◆ log10() [5/8]

float hlsl::log10 ( float  )

◆ log10() [6/8]

float2 hlsl::log10 ( float2  )

◆ log10() [7/8]

float3 hlsl::log10 ( float3  )

◆ log10() [8/8]

float4 hlsl::log10 ( float4  )

◆ log2() [1/8]

double hlsl::log2 ( double  )

◆ log2() [2/8]

double2 hlsl::log2 ( double2  )

◆ log2() [3/8]

double3 hlsl::log2 ( double3  )

◆ log2() [4/8]

double4 hlsl::log2 ( double4  )

◆ log2() [5/8]

float hlsl::log2 ( float  )

◆ log2() [6/8]

float2 hlsl::log2 ( float2  )

◆ log2() [7/8]

float3 hlsl::log2 ( float3  )

◆ log2() [8/8]

float4 hlsl::log2 ( float4  )

◆ max() [1/24]

double hlsl::max ( double  ,
double   
)

◆ max() [2/24]

double2 hlsl::max ( double2  ,
double2   
)

◆ max() [3/24]

double3 hlsl::max ( double3  ,
double3   
)

◆ max() [4/24]

double4 hlsl::max ( double4  ,
double4   
)

◆ max() [5/24]

float hlsl::max ( float  ,
float   
)

◆ max() [6/24]

float2 hlsl::max ( float2  ,
float2   
)

◆ max() [7/24]

float3 hlsl::max ( float3  ,
float3   
)

◆ max() [8/24]

float4 hlsl::max ( float4  ,
float4   
)

◆ max() [9/24]

int hlsl::max ( int  ,
int   
)

◆ max() [10/24]

int2 hlsl::max ( int2  ,
int2   
)

◆ max() [11/24]

int3 hlsl::max ( int3  ,
int3   
)

◆ max() [12/24]

int4 hlsl::max ( int4  ,
int4   
)

◆ max() [13/24]

int64_t hlsl::max ( int64_t  ,
int64_t   
)

◆ max() [14/24]

int64_t2 hlsl::max ( int64_t2  ,
int64_t2   
)

◆ max() [15/24]

int64_t3 hlsl::max ( int64_t3  ,
int64_t3   
)

◆ max() [16/24]

int64_t4 hlsl::max ( int64_t4  ,
int64_t4   
)

◆ max() [17/24]

uint hlsl::max ( uint  ,
uint   
)

◆ max() [18/24]

uint2 hlsl::max ( uint2  ,
uint2   
)

◆ max() [19/24]

uint3 hlsl::max ( uint3  ,
uint3   
)

◆ max() [20/24]

uint4 hlsl::max ( uint4  ,
uint4   
)

◆ max() [21/24]

uint64_t hlsl::max ( uint64_t  ,
uint64_t   
)

◆ max() [22/24]

uint64_t2 hlsl::max ( uint64_t2  ,
uint64_t2   
)

◆ max() [23/24]

uint64_t3 hlsl::max ( uint64_t3  ,
uint64_t3   
)

◆ max() [24/24]

uint64_t4 hlsl::max ( uint64_t4  ,
uint64_t4   
)

◆ min() [1/24]

double hlsl::min ( double  ,
double   
)

◆ min() [2/24]

double2 hlsl::min ( double2  ,
double2   
)

◆ min() [3/24]

double3 hlsl::min ( double3  ,
double3   
)

◆ min() [4/24]

double4 hlsl::min ( double4  ,
double4   
)

◆ min() [5/24]

float hlsl::min ( float  ,
float   
)

◆ min() [6/24]

float2 hlsl::min ( float2  ,
float2   
)

◆ min() [7/24]

float3 hlsl::min ( float3  ,
float3   
)

◆ min() [8/24]

float4 hlsl::min ( float4  ,
float4   
)

◆ min() [9/24]

int hlsl::min ( int  ,
int   
)

◆ min() [10/24]

int2 hlsl::min ( int2  ,
int2   
)

◆ min() [11/24]

int3 hlsl::min ( int3  ,
int3   
)

◆ min() [12/24]

int4 hlsl::min ( int4  ,
int4   
)

◆ min() [13/24]

int64_t hlsl::min ( int64_t  ,
int64_t   
)

◆ min() [14/24]

int64_t2 hlsl::min ( int64_t2  ,
int64_t2   
)

◆ min() [15/24]

int64_t3 hlsl::min ( int64_t3  ,
int64_t3   
)

◆ min() [16/24]

int64_t4 hlsl::min ( int64_t4  ,
int64_t4   
)

◆ min() [17/24]

uint hlsl::min ( uint  ,
uint   
)

◆ min() [18/24]

uint2 hlsl::min ( uint2  ,
uint2   
)

◆ min() [19/24]

uint3 hlsl::min ( uint3  ,
uint3   
)

◆ min() [20/24]

uint4 hlsl::min ( uint4  ,
uint4   
)

◆ min() [21/24]

uint64_t hlsl::min ( uint64_t  ,
uint64_t   
)

◆ min() [22/24]

uint64_t2 hlsl::min ( uint64_t2  ,
uint64_t2   
)

◆ min() [23/24]

uint64_t3 hlsl::min ( uint64_t3  ,
uint64_t3   
)

◆ min() [24/24]

uint64_t4 hlsl::min ( uint64_t4  ,
uint64_t4   
)

◆ pow() [1/8]

double hlsl::pow ( double  ,
double   
)

◆ pow() [2/8]

double2 hlsl::pow ( double2  ,
double2   
)

◆ pow() [3/8]

double3 hlsl::pow ( double3  ,
double3   
)

◆ pow() [4/8]

double4 hlsl::pow ( double4  ,
double4   
)

◆ pow() [5/8]

float hlsl::pow ( float  ,
float   
)

◆ pow() [6/8]

float2 hlsl::pow ( float2  ,
float2   
)

◆ pow() [7/8]

float3 hlsl::pow ( float3  ,
float3   
)

◆ pow() [8/8]

float4 hlsl::pow ( float4  ,
float4   
)

◆ reversebits() [1/16]

int hlsl::reversebits ( int  )

◆ reversebits() [2/16]

int2 hlsl::reversebits ( int2  )

◆ reversebits() [3/16]

int3 hlsl::reversebits ( int3  )

◆ reversebits() [4/16]

int4 hlsl::reversebits ( int4  )

◆ reversebits() [5/16]

int64_t hlsl::reversebits ( int64_t  )

◆ reversebits() [6/16]

int64_t2 hlsl::reversebits ( int64_t2  )

◆ reversebits() [7/16]

int64_t3 hlsl::reversebits ( int64_t3  )

◆ reversebits() [8/16]

int64_t4 hlsl::reversebits ( int64_t4  )

◆ reversebits() [9/16]

uint hlsl::reversebits ( uint  )

◆ reversebits() [10/16]

uint2 hlsl::reversebits ( uint2  )

◆ reversebits() [11/16]

uint3 hlsl::reversebits ( uint3  )

◆ reversebits() [12/16]

uint4 hlsl::reversebits ( uint4  )

◆ reversebits() [13/16]

uint64_t hlsl::reversebits ( uint64_t  )

◆ reversebits() [14/16]

uint64_t2 hlsl::reversebits ( uint64_t2  )

◆ reversebits() [15/16]

uint64_t3 hlsl::reversebits ( uint64_t3  )

◆ reversebits() [16/16]

uint64_t4 hlsl::reversebits ( uint64_t4  )

◆ sin() [1/8]

double hlsl::sin ( double  )

◆ sin() [2/8]

double2 hlsl::sin ( double2  )

◆ sin() [3/8]

double3 hlsl::sin ( double3  )

◆ sin() [4/8]

double4 hlsl::sin ( double4  )

◆ sin() [5/8]

float hlsl::sin ( float  )

◆ sin() [6/8]

float2 hlsl::sin ( float2  )

◆ sin() [7/8]

float3 hlsl::sin ( float3  )

◆ sin() [8/8]

float4 hlsl::sin ( float4  )

◆ sqrt() [1/2]

double hlsl::sqrt ( double  In)

◆ sqrt() [2/2]

float hlsl::sqrt ( float  In)

◆ trunc() [1/8]

double hlsl::trunc ( double  )

◆ trunc() [2/8]

double2 hlsl::trunc ( double2  )

◆ trunc() [3/8]

double3 hlsl::trunc ( double3  )

◆ trunc() [4/8]

double4 hlsl::trunc ( double4  )

◆ trunc() [5/8]

float hlsl::trunc ( float  )

◆ trunc() [6/8]

float2 hlsl::trunc ( float2  )

◆ trunc() [7/8]

float3 hlsl::trunc ( float3  )

◆ trunc() [8/8]

float4 hlsl::trunc ( float4  )

◆ WaveActiveCountBits()

uint hlsl::WaveActiveCountBits ( bool  bBit)