Blender V5.0
DNA_image_defaults.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11/* clang-format off */
12
13/* -------------------------------------------------------------------- */
16
17#define _DNA_DEFAULT_Image \
18 { \
19 .aspx = 1.0, \
20 .aspy = 1.0, \
21 .gen_x = 1024, \
22 .gen_y = 1024, \
23 .gen_type = IMA_GENTYPE_GRID, \
24 \
25 .gpuframenr = IMAGE_GPU_FRAME_NONE, \
26 .gpu_pass = IMAGE_GPU_PASS_NONE, \
27 .gpu_layer = IMAGE_GPU_LAYER_NONE, \
28 .gpu_view = IMAGE_GPU_VIEW_NONE, \
29 .seam_margin = 8, \
30 }
31
33
34/* clang-format on */