Blender V4.3
types_uchar4.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
2 *
3 * SPDX-License-Identifier: Apache-2.0 */
4
5#pragma once
6
7#ifndef __UTIL_TYPES_H__
8# error "Do not include this file directly, include util/types.h instead."
9#endif
10
12
13#ifndef __KERNEL_NATIVE_VECTOR_TYPES__
14struct uchar4 {
15 uchar x, y, z, w;
16
17# ifndef __KERNEL_GPU__
18 __forceinline uchar operator[](int i) const;
20# endif
21};
22
24#endif /* __KERNEL_NATIVE_VECTOR_TYPES__ */
25
unsigned char uchar
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
Definition btQuadWord.h:117
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
Definition btQuadWord.h:119
#define ccl_device_inline
#define CCL_NAMESPACE_END
#define __forceinline
uchar z
__forceinline uchar operator[](int i) const
uchar w
uchar x
uchar y
ccl_device_inline uchar4 make_uchar4(uchar x, uchar y, uchar z, uchar w)