Blender  V3.3
DNA_image_defaults.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 /* Struct members on own line. */
10 /* clang-format off */
11 
12 /* -------------------------------------------------------------------- */
16 #define _DNA_DEFAULT_Image \
17  { \
18  .aspx = 1.0, \
19  .aspy = 1.0, \
20  .gen_x = 1024, \
21  .gen_y = 1024, \
22  .gen_type = IMA_GENTYPE_GRID, \
23  \
24  .gpuframenr = INT_MAX, \
25  .gpu_pass = SHRT_MAX, \
26  .gpu_layer = SHRT_MAX, \
27  }
28 
31 /* clang-format on */