Blender  V3.3
Functions
math_int4.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_inline int4 operator+ (const int4 &a, const int4 &b)
 
ccl_device_inline int4 operator+= (int4 &a, const int4 &b)
 
ccl_device_inline int4 operator>> (const int4 &a, int i)
 
ccl_device_inline int4 operator<< (const int4 &a, int i)
 
ccl_device_inline int4 operator< (const int4 &a, const int4 &b)
 
ccl_device_inline int4 operator>= (const int4 &a, const int4 &b)
 
ccl_device_inline int4 operator& (const int4 &a, const int4 &b)
 
ccl_device_inline int4 min (int4 a, int4 b)
 
ccl_device_inline int4 max (int4 a, int4 b)
 
ccl_device_inline int4 clamp (const int4 &a, const int4 &mn, const int4 &mx)
 
ccl_device_inline int4 select (const int4 &mask, const int4 &a, const int4 &b)
 
ccl_device_inline int4 load_int4 (const int *v)
 

Function Documentation

◆ clamp()

ccl_device_inline int4 clamp ( const int4 a,
const int4 mn,
const int4 mx 
)

Definition at line 113 of file math_int4.h.

References Freestyle::a, max(), and min().

◆ load_int4()

ccl_device_inline int4 load_int4 ( const int *  v)

Definition at line 128 of file math_int4.h.

References make_int4, and v.

◆ max()

ccl_device_inline int4 max ( int4  a,
int4  b 
)

Definition at line 104 of file math_int4.h.

References Freestyle::a, usdtokens::b(), and make_int4.

Referenced by clamp().

◆ min()

ccl_device_inline int4 min ( int4  a,
int4  b 
)

Definition at line 95 of file math_int4.h.

References Freestyle::a, usdtokens::b(), and make_int4.

Referenced by clamp().

◆ operator&()

ccl_device_inline int4 operator& ( const int4 a,
const int4 b 
)

Definition at line 86 of file math_int4.h.

References Freestyle::a, usdtokens::b(), and make_int4.

◆ operator+()

ccl_device_inline int4 operator+ ( const int4 a,
const int4 b 
)

Definition at line 36 of file math_int4.h.

References Freestyle::a, usdtokens::b(), and make_int4.

◆ operator+=()

ccl_device_inline int4 operator+= ( int4 a,
const int4 b 
)

Definition at line 45 of file math_int4.h.

References Freestyle::a, and usdtokens::b().

◆ operator<()

ccl_device_inline int4 operator< ( const int4 a,
const int4 b 
)

Definition at line 68 of file math_int4.h.

References Freestyle::a, usdtokens::b(), and make_int4.

◆ operator<<()

ccl_device_inline int4 operator<< ( const int4 a,
int  i 
)

Definition at line 59 of file math_int4.h.

References Freestyle::a, and make_int4.

◆ operator>=()

ccl_device_inline int4 operator>= ( const int4 a,
const int4 b 
)

Definition at line 77 of file math_int4.h.

References Freestyle::a, usdtokens::b(), and make_int4.

◆ operator>>()

ccl_device_inline int4 operator>> ( const int4 a,
int  i 
)

Definition at line 50 of file math_int4.h.

References Freestyle::a, and make_int4.

◆ select()

ccl_device_inline int4 select ( const int4 mask,
const int4 a,
const int4 b 
)

Definition at line 118 of file math_int4.h.

References Freestyle::a, usdtokens::b(), make_int4, and mask().