Blender
V4.3
intern
cycles
util
types_uchar2.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
11
CCL_NAMESPACE_BEGIN
12
13
#ifndef __KERNEL_NATIVE_VECTOR_TYPES__
14
struct
uchar2
{
15
uchar
x
,
y
;
16
17
# ifndef __KERNEL_GPU__
18
__forceinline
uchar
operator[]
(
int
i)
const
;
19
__forceinline
uchar
&
operator[]
(
int
i);
20
# endif
21
};
22
23
ccl_device_inline
uchar2
make_uchar2
(
uchar
x
,
uchar
y
);
24
#endif
/* __KERNEL_NATIVE_VECTOR_TYPES__ */
25
26
CCL_NAMESPACE_END
x
x
Definition
BLI_expr_pylike_eval_test.cc:345
uchar
unsigned char uchar
Definition
BLI_sys_types.h:71
y
y
Definition
compositor_morphological_blur_info.hh:15
ccl_device_inline
#define ccl_device_inline
Definition
device/cuda/compat.h:36
CCL_NAMESPACE_END
#define CCL_NAMESPACE_END
Definition
device/cuda/compat.h:10
__forceinline
#define __forceinline
Definition
device/oneapi/compat.h:234
CCL_NAMESPACE_BEGIN
Definition
python.cpp:44
uchar2
Definition
types_uchar2.h:14
uchar2::x
uchar x
Definition
types_uchar2.h:15
uchar2::y
uchar y
Definition
types_uchar2.h:15
uchar2::operator[]
__forceinline uchar operator[](int i) const
Definition
types_uchar2_impl.h:16
make_uchar2
ccl_device_inline uchar2 make_uchar2(uchar x, uchar y)
Definition
types_uchar2_impl.h:31
Generated on Sat Oct 4 2025 05:32:23 for Blender by
doxygen
1.14.0