Blender  V3.3
param.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: Apache-2.0
2  * Copyright 2011-2022 Blender Foundation */
3 
4 #ifndef __UTIL_PARAM_H__
5 #define __UTIL_PARAM_H__
6 
7 /* Parameter value lists from OpenImageIO are used to store custom properties
8  * on various data, which can then later be used in shaders. */
9 
10 #include <OpenImageIO/paramlist.h>
11 #include <OpenImageIO/typedesc.h>
12 #include <OpenImageIO/ustring.h>
13 
15 
16 OIIO_NAMESPACE_USING
17 
18 static constexpr TypeDesc TypeFloat2(TypeDesc::FLOAT, TypeDesc::VEC2);
19 static constexpr TypeDesc TypeRGBA(TypeDesc::FLOAT, TypeDesc::VEC4, TypeDesc::COLOR);
20 static constexpr TypeDesc TypeFloatArray4(TypeDesc::FLOAT,
21  TypeDesc::SCALAR,
22  TypeDesc::NOSEMANTICS,
23  4);
24 
26 
27 #endif /* __UTIL_PARAM_H__ */
#define CCL_NAMESPACE_END
Definition: cuda/compat.h:9
static constexpr TypeDesc TypeFloatArray4(TypeDesc::FLOAT, TypeDesc::SCALAR, TypeDesc::NOSEMANTICS, 4)
static constexpr TypeDesc TypeRGBA(TypeDesc::FLOAT, TypeDesc::VEC4, TypeDesc::COLOR)
CCL_NAMESPACE_BEGIN static constexpr OIIO_NAMESPACE_USING TypeDesc TypeFloat2(TypeDesc::FLOAT, TypeDesc::VEC2)
@ FLOAT