1 # SPDX-FileCopyrightText: 2011-2022 Blender Foundation
3 # SPDX-License-Identifier: GPL-2.0-or-later
6 class CopyPreset(object):
7 def __init__(self
, ui_name
, rna_enum
, elements
):
9 self
.rna_enum
= rna_enum
10 self
.elements
= elements
13 presets
= (CopyPreset("Resolution",
14 ("resolution", "Render Resolution", "Render resolution and aspect ratio settings"),
15 {"resolution_x", "resolution_y", "pixel_aspect_x", "pixel_aspect_y"}),
17 ("scale", "Render Scale", "The “Render Scale” setting"),
18 {"resolution_percentage"}),
20 ("threads", "Render Threads", "The thread mode and number settings"),
21 {"threads_mode", "threads"}),
23 ("stamp", "Render Stamp", "The Stamp toggle"),