Blender  V3.3
ocio_shader_shared.hh
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2022 Blender Foundation. All rights reserved. */
3 
4 #ifndef GPU_SHADER
6 #endif
7 
9  /* Curve mapping parameters
10  *
11  * See documentation for OCIO_CurveMappingSettings to get fields descriptions.
12  * (this ones pretty much copies stuff from C structure.)
13  */
26  int lut_size;
28  int _pad0;
29  int _pad1;
30 };
31 
33  float dither;
34  float scale;
35  float exponent;
38  int _pad0;
39  int _pad1;
40  int _pad2;
41 };
float float4[4]