Blender V5.0
types_int3.h File Reference
#include "util/types_base.h"

Go to the source code of this file.

Classes

struct  packed_int3

Functions

CCL_NAMESPACE_BEGIN struct ccl_try_align (16) int3
ccl_device_inline int3 make_int3 (const int x, const int y, int z)
ccl_device_inline int3 make_int3 (const int i)
ccl_device_inline void print_int3 (const ccl_private char *label, const int3 a)
ccl_device_inline packed_int3 make_packed_int3 (const int x, const int y, int z)

Function Documentation

◆ ccl_try_align()

CCL_NAMESPACE_BEGIN struct ccl_try_align ( 16 )

Definition at line 9 of file types_int3.h.

References __forceinline, ccl_try_align, i, int3::int3(), operator=(), int3::operator[](), util_assert, w(), x, y, and z().

◆ make_int3() [1/2]

ccl_device_inline int3 make_int3 ( const int i)

Definition at line 86 of file types_int3.h.

References ccl_device_inline, i, and make_int3().

◆ make_int3() [2/2]

ccl_device_inline int3 make_int3 ( const int x,
const int y,
int z )

Definition at line 73 of file types_int3.h.

References ccl_device_inline, x, y, and z().

Referenced by make_int3(), and packed_int3::operator int3().

◆ make_packed_int3()

ccl_device_inline packed_int3 make_packed_int3 ( const int x,
const int y,
int z )

Definition at line 152 of file types_int3.h.

References ccl_device_inline, x, y, and z().

◆ print_int3()

ccl_device_inline void print_int3 ( const ccl_private char * label,
const int3 a )

Definition at line 97 of file types_int3.h.

References ccl_device_inline, ccl_private, printf, int3::x, int3::y, and int3::z.