Blender V5.3
rna_scene.cc File Reference
#include <cstdlib>
#include "DNA_curve_types.h"
#include "DNA_layer_types.h"
#include "DNA_scene_types.h"
#include "DNA_userdef_types.h"
#include "DNA_view3d_types.h"
#include "IMB_colormanagement.hh"
#include "MOV_enums.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_string_utf8_symbols.hh"
#include "BLT_translation.hh"
#include "BKE_paint.hh"
#include "ED_object.hh"
#include "ED_sequencer.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "rna_internal.hh"
#include "RE_pipeline.h"
#include "WM_api.hh"
#include "WM_types.hh"
#include "BLI_threads.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define RNA_SNAP_ELEMENTS_BASE
#define MEDIA_TYPE_ENUM_IMAGE   {MEDIA_TYPE_IMAGE, "IMAGE", ICON_NONE, "Image", ""}
#define MEDIA_TYPE_ENUM_MULTI_LAYER_IMAGE   {MEDIA_TYPE_MULTI_LAYER_IMAGE, "MULTI_LAYER_IMAGE", ICON_NONE, "Multi-Layer EXR", ""}
#define MEDIA_TYPE_ENUM_VIDEO   {MEDIA_TYPE_VIDEO, "VIDEO", ICON_NONE, "Video", ""}
#define R_IMF_ENUM_BMP   {R_IMF_IMTYPE_BMP, "BMP", 0, "Bitmap (.bmp)", "Output image in bitmap format"},
#define R_IMF_ENUM_IRIS   {R_IMF_IMTYPE_IRIS, "IRIS", 0, "Iris (.rgb)", "Output image in SGI IRIS format"},
#define R_IMF_ENUM_PNG   {R_IMF_IMTYPE_PNG, "PNG", 0, "PNG (.png)", "Output image in PNG format"},
#define R_IMF_ENUM_JPEG   {R_IMF_IMTYPE_JPEG90, "JPEG", 0, "JPEG (.jpg)", "Output image in JPEG format"},
#define R_IMF_ENUM_TAGA   {R_IMF_IMTYPE_TARGA, "TARGA", 0, "Targa (.tga)", "Output image in Targa format"},
#define R_IMF_ENUM_TAGA_RAW
#define R_IMF_ENUM_JPEG2K
#define R_IMF_ENUM_CINEON
#define R_IMF_ENUM_DPX
#define R_IMF_ENUM_EXR_MULTILAYER
#define R_IMF_ENUM_EXR   {R_IMF_IMTYPE_OPENEXR, "OPEN_EXR", 0, "OpenEXR (.exr)", "Output image in OpenEXR format"},
#define R_IMF_ENUM_HDR   {R_IMF_IMTYPE_RADHDR, "HDR", 0, "Radiance HDR (.hdr)", "Output image in Radiance HDR format"},
#define R_IMF_ENUM_TIFF   {R_IMF_IMTYPE_TIFF, "TIFF", 0, "TIFF (.tif)", "Output image in TIFF format"},
#define R_IMF_ENUM_WEBP
#define R_IMF_ENUM_AVIF   {R_IMF_IMTYPE_AVIF, "AVIF", 0, "AVIF (.avif)", "Output image in AVIF format"},
#define R_IMF_ENUM_FFMPEG
#define IMAGE_TYPE_ITEMS_IMAGE
#define IMAGE_TYPE_ITEMS_MULTI_LAYER_IMAGE   R_IMF_ENUM_EXR_MULTILAYER
#define IMAGE_TYPE_ITEMS_VIDEO   R_IMF_ENUM_FFMPEG
#define R_IMF_VIEWS_ENUM_IND
#define R_IMF_VIEWS_ENUM_S3D   {R_IMF_VIEWS_STEREO_3D, "STEREO_3D", 0, "Stereo 3D", "Single file with an encoded stereo pair"},
#define R_IMF_VIEWS_ENUM_MV   {R_IMF_VIEWS_MULTIVIEW, "MULTIVIEW", 0, "Multi-View", "Single file with all the views"},

Functions

static void blender::rna_def_gpencil_interpolate (BlenderRNA *brna)
static void blender::rna_def_transform_orientation (BlenderRNA *brna)
static void blender::rna_def_transform_orientation_slot (BlenderRNA *brna)
static void blender::rna_def_view3d_cursor (BlenderRNA *brna)
static void blender::rna_def_tool_settings (BlenderRNA *brna)
static void blender::rna_def_sequencer_tool_settings (BlenderRNA *brna)
static void blender::rna_def_curve_paint_settings (BlenderRNA *brna)
static void blender::rna_def_statvis (BlenderRNA *brna)
static void blender::rna_def_unit_settings (BlenderRNA *brna)
static void blender::rna_def_view_layer_eevee (BlenderRNA *brna)
static void blender::rna_def_view_layer_aovs (BlenderRNA *brna, PropertyRNA *cprop)
static void blender::rna_def_view_layer_aov (BlenderRNA *brna)
static void blender::rna_def_view_layer_lightgroups (BlenderRNA *brna, PropertyRNA *cprop)
static void blender::rna_def_view_layer_lightgroup (BlenderRNA *brna)
void blender::rna_def_view_layer_common (BlenderRNA *brna, StructRNA *srna, bool scene)
static void blender::rna_def_freestyle_modules (BlenderRNA *brna, PropertyRNA *cprop)
static void blender::rna_def_freestyle_linesets (BlenderRNA *brna, PropertyRNA *cprop)
void blender::rna_def_freestyle_settings (BlenderRNA *brna)
static void blender::rna_def_bake_data (BlenderRNA *brna)
static void blender::rna_def_view_layers (BlenderRNA *brna, PropertyRNA *cprop)
static void blender::rna_def_scene_render_view (BlenderRNA *brna)
static void blender::rna_def_render_views (BlenderRNA *brna, PropertyRNA *cprop)
static void blender::rna_def_image_format_stereo3d_format (BlenderRNA *brna)
static void blender::rna_def_scene_image_format_data (BlenderRNA *brna)
static void blender::rna_def_scene_ffmpeg_settings (BlenderRNA *brna)
static void blender::rna_def_scene_render_data (BlenderRNA *brna)
static void blender::rna_def_scene_objects (BlenderRNA *brna, PropertyRNA *cprop)
static void blender::rna_def_timeline_markers (BlenderRNA *brna, PropertyRNA *cprop)
static void blender::rna_def_scene_keying_sets (BlenderRNA *brna, PropertyRNA *cprop)
static void blender::rna_def_scene_keying_sets_all (BlenderRNA *brna, PropertyRNA *cprop)
static void blender::rna_def_selected_uv_element (BlenderRNA *brna)
static void blender::rna_def_display_safe_areas (BlenderRNA *brna)
static void blender::rna_def_scene_display (BlenderRNA *brna)
static void blender::rna_def_raytrace_eevee (BlenderRNA *brna)
static void blender::rna_def_scene_eevee (BlenderRNA *brna)
static void blender::rna_def_scene_gpencil (BlenderRNA *brna)
static void blender::rna_def_compositor_effect_nodes_properties (BlenderRNA *brna)
static void blender::rna_def_compositor_effect (BlenderRNA *brna)
static void blender::rna_def_compositor_effects (BlenderRNA *brna, PropertyRNA *cprop)
static void blender::rna_def_scene_hydra (BlenderRNA *brna)
void blender::RNA_def_scene (BlenderRNA *brna)

Variables

const EnumPropertyItem blender::rna_enum_exr_codec_items []
const EnumPropertyItem blender::rna_enum_snap_source_items []
const EnumPropertyItem blender::rna_enum_proportional_falloff_items []
const EnumPropertyItem blender::rna_enum_proportional_falloff_curve_only_items []
const EnumPropertyItem blender::rna_enum_mesh_select_mode_items []
const EnumPropertyItem blender::rna_enum_mesh_select_mode_uv_items []
const EnumPropertyItem blender::rna_enum_snap_element_items []
static const EnumPropertyItem blender::rna_enum_snap_element_base_items []
static const EnumPropertyItem * blender::rna_enum_snap_element_individual_items
const EnumPropertyItem blender::rna_enum_snap_animation_element_items []
static const EnumPropertyItem blender::snap_uv_element_items []
const EnumPropertyItem blender::rna_enum_snap_playhead_element_items []
static const EnumPropertyItem blender::rna_enum_scene_display_aa_methods []
const EnumPropertyItem blender::rna_enum_curve_fit_method_items []
static const EnumPropertyItem blender::rna_enum_media_type_all_items []
const EnumPropertyItem blender::rna_enum_image_type_all_items []
const EnumPropertyItem blender::rna_enum_image_color_mode_items []
const EnumPropertyItem blender::rna_enum_image_color_depth_items []
const EnumPropertyItem blender::rna_enum_normal_space_items []
const EnumPropertyItem blender::rna_enum_normal_swizzle_items []
const EnumPropertyItem blender::rna_enum_bake_margin_type_items []
const EnumPropertyItem blender::rna_enum_bake_target_items []
const EnumPropertyItem blender::rna_enum_bake_save_mode_items []
static const EnumPropertyItem blender::rna_enum_bake_view_from_items []
const EnumPropertyItem blender::rna_enum_views_format_items []
const EnumPropertyItem blender::rna_enum_views_format_multilayer_items []
const EnumPropertyItem blender::rna_enum_views_format_multiview_items []
const EnumPropertyItem blender::rna_enum_stereo3d_display_items []
const EnumPropertyItem blender::rna_enum_stereo3d_anaglyph_type_items []
const EnumPropertyItem blender::rna_enum_stereo3d_interlace_type_items []
const EnumPropertyItem blender::rna_enum_bake_pass_filter_type_items []
static const EnumPropertyItem blender::rna_enum_view_layer_aov_type_items []
const EnumPropertyItem blender::rna_enum_transform_pivot_full_items []
const EnumPropertyItem blender::rna_enum_transform_orientation_items []
static const EnumPropertyItem blender::plane_depth_items []
static const EnumPropertyItem blender::plane_orientation_items []
static const EnumPropertyItem blender::snap_to_items []
const EnumPropertyItem blender::rna_enum_grease_pencil_selectmode_items []
static const EnumPropertyItem blender::eevee_resolution_scale_items []

Macro Definition Documentation

◆ IMAGE_TYPE_ITEMS_IMAGE

#define IMAGE_TYPE_ITEMS_IMAGE
Value:
\
R_IMF_ENUM_AVIF \
R_IMF_ENUM_JPEG \
R_IMF_ENUM_EXR \
R_IMF_ENUM_PNG \
R_IMF_ENUM_WEBP \
RNA_ENUM_ITEM_SEPR, \
#define R_IMF_ENUM_DPX
Definition rna_scene.cc:329
#define R_IMF_ENUM_IRIS
Definition rna_scene.cc:297
#define R_IMF_ENUM_TIFF
Definition rna_scene.cc:344
#define R_IMF_ENUM_CINEON
Definition rna_scene.cc:328
#define R_IMF_ENUM_TAGA
Definition rna_scene.cc:302
#define R_IMF_ENUM_BMP
Definition rna_scene.cc:295
#define R_IMF_ENUM_TAGA_RAW
Definition rna_scene.cc:304

Definition at line 363 of file rna_scene.cc.

◆ IMAGE_TYPE_ITEMS_MULTI_LAYER_IMAGE

#define IMAGE_TYPE_ITEMS_MULTI_LAYER_IMAGE   R_IMF_ENUM_EXR_MULTILAYER

Definition at line 374 of file rna_scene.cc.

◆ IMAGE_TYPE_ITEMS_VIDEO

#define IMAGE_TYPE_ITEMS_VIDEO   R_IMF_ENUM_FFMPEG

Definition at line 376 of file rna_scene.cc.

◆ MEDIA_TYPE_ENUM_IMAGE

#define MEDIA_TYPE_ENUM_IMAGE   {MEDIA_TYPE_IMAGE, "IMAGE", ICON_NONE, "Image", ""}

Definition at line 271 of file rna_scene.cc.

◆ MEDIA_TYPE_ENUM_MULTI_LAYER_IMAGE

#define MEDIA_TYPE_ENUM_MULTI_LAYER_IMAGE   {MEDIA_TYPE_MULTI_LAYER_IMAGE, "MULTI_LAYER_IMAGE", ICON_NONE, "Multi-Layer EXR", ""}

Definition at line 272 of file rna_scene.cc.

◆ MEDIA_TYPE_ENUM_VIDEO

#define MEDIA_TYPE_ENUM_VIDEO   {MEDIA_TYPE_VIDEO, "VIDEO", ICON_NONE, "Video", ""}

Definition at line 274 of file rna_scene.cc.

◆ R_IMF_ENUM_AVIF

#define R_IMF_ENUM_AVIF   {R_IMF_IMTYPE_AVIF, "AVIF", 0, "AVIF (.avif)", "Output image in AVIF format"},

Definition at line 354 of file rna_scene.cc.

◆ R_IMF_ENUM_BMP

#define R_IMF_ENUM_BMP   {R_IMF_IMTYPE_BMP, "BMP", 0, "Bitmap (.bmp)", "Output image in bitmap format"},

Definition at line 295 of file rna_scene.cc.

◆ R_IMF_ENUM_CINEON

#define R_IMF_ENUM_CINEON

Definition at line 328 of file rna_scene.cc.

◆ R_IMF_ENUM_DPX

#define R_IMF_ENUM_DPX

Definition at line 329 of file rna_scene.cc.

◆ R_IMF_ENUM_EXR

#define R_IMF_ENUM_EXR   {R_IMF_IMTYPE_OPENEXR, "OPEN_EXR", 0, "OpenEXR (.exr)", "Output image in OpenEXR format"},

Definition at line 338 of file rna_scene.cc.

◆ R_IMF_ENUM_EXR_MULTILAYER

#define R_IMF_ENUM_EXR_MULTILAYER
Value:
{R_IMF_IMTYPE_MULTILAYER, \
"OPEN_EXR_MULTILAYER", \
0, \
"OpenEXR MultiLayer (.exr)", \
"Output image in multilayer OpenEXR format"},

Definition at line 332 of file rna_scene.cc.

◆ R_IMF_ENUM_FFMPEG

#define R_IMF_ENUM_FFMPEG

Definition at line 360 of file rna_scene.cc.

◆ R_IMF_ENUM_HDR

#define R_IMF_ENUM_HDR   {R_IMF_IMTYPE_RADHDR, "HDR", 0, "Radiance HDR (.hdr)", "Output image in Radiance HDR format"},

Definition at line 341 of file rna_scene.cc.

◆ R_IMF_ENUM_IRIS

#define R_IMF_ENUM_IRIS   {R_IMF_IMTYPE_IRIS, "IRIS", 0, "Iris (.rgb)", "Output image in SGI IRIS format"},

Definition at line 297 of file rna_scene.cc.

◆ R_IMF_ENUM_JPEG

#define R_IMF_ENUM_JPEG   {R_IMF_IMTYPE_JPEG90, "JPEG", 0, "JPEG (.jpg)", "Output image in JPEG format"},

Definition at line 300 of file rna_scene.cc.

◆ R_IMF_ENUM_JPEG2K

#define R_IMF_ENUM_JPEG2K

Definition at line 320 of file rna_scene.cc.

◆ R_IMF_ENUM_PNG

#define R_IMF_ENUM_PNG   {R_IMF_IMTYPE_PNG, "PNG", 0, "PNG (.png)", "Output image in PNG format"},

Definition at line 299 of file rna_scene.cc.

◆ R_IMF_ENUM_TAGA

#define R_IMF_ENUM_TAGA   {R_IMF_IMTYPE_TARGA, "TARGA", 0, "Targa (.tga)", "Output image in Targa format"},

Definition at line 302 of file rna_scene.cc.

◆ R_IMF_ENUM_TAGA_RAW

#define R_IMF_ENUM_TAGA_RAW
Value:
{R_IMF_IMTYPE_RAWTGA, \
"TARGA_RAW", \
0, \
"Targa Raw (.tga)", \
"Output image in uncompressed Targa format"},

Definition at line 304 of file rna_scene.cc.

◆ R_IMF_ENUM_TIFF

#define R_IMF_ENUM_TIFF   {R_IMF_IMTYPE_TIFF, "TIFF", 0, "TIFF (.tif)", "Output image in TIFF format"},

Definition at line 344 of file rna_scene.cc.

◆ R_IMF_ENUM_WEBP

#define R_IMF_ENUM_WEBP

Definition at line 351 of file rna_scene.cc.

◆ R_IMF_VIEWS_ENUM_IND

#define R_IMF_VIEWS_ENUM_IND
Value:
{R_IMF_VIEWS_INDIVIDUAL, \
"INDIVIDUAL", \
0, \
"Individual", \
"Individual files for each view with the prefix as defined by the scene views"},

Definition at line 500 of file rna_scene.cc.

◆ R_IMF_VIEWS_ENUM_MV

#define R_IMF_VIEWS_ENUM_MV   {R_IMF_VIEWS_MULTIVIEW, "MULTIVIEW", 0, "Multi-View", "Single file with all the views"},

Definition at line 508 of file rna_scene.cc.

◆ R_IMF_VIEWS_ENUM_S3D

#define R_IMF_VIEWS_ENUM_S3D   {R_IMF_VIEWS_STEREO_3D, "STEREO_3D", 0, "Stereo 3D", "Single file with an encoded stereo pair"},

Definition at line 506 of file rna_scene.cc.

◆ RNA_SNAP_ELEMENTS_BASE

#define RNA_SNAP_ELEMENTS_BASE
Value:
{SCE_SNAP_TO_INCREMENT, "INCREMENT", ICON_SNAP_INCREMENT, "Increment", "Snap to increments"}, \
{SCE_SNAP_TO_GRID, "GRID", ICON_SNAP_GRID, "Grid", "Snap to grid"}, \
{SCE_SNAP_TO_ORIGIN, "ORIGIN", ICON_OBJECT_ORIGIN, "Origin", "Snap to origins"}, \
{SCE_SNAP_TO_VERTEX, "VERTEX", ICON_SNAP_VERTEX, "Vertex", "Snap to vertices"}, \
{SCE_SNAP_TO_EDGE, "EDGE", ICON_SNAP_EDGE, "Edge", "Snap to edges"}, \
{SCE_SNAP_TO_FACE, "FACE", ICON_SNAP_FACE, "Face", "Snap by projecting onto faces"}, \
{SCE_SNAP_TO_VOLUME, "VOLUME", ICON_SNAP_VOLUME, "Volume", "Snap to volume"}, \
{SCE_SNAP_TO_EDGE_MIDPOINT, "EDGE_MIDPOINT", ICON_SNAP_MIDPOINT, "Edge Center", "Snap to the middle of edges"}, \
{SCE_SNAP_TO_EDGE_PERPENDICULAR, "EDGE_PERPENDICULAR", ICON_SNAP_PERPENDICULAR, "Edge Perpendicular", "Snap to the nearest point on an edge"}, \
{SCE_SNAP_TO_FACE_MIDPOINT, "FACE_MIDPOINT", ICON_SNAP_FACE_CENTER,"Face Center","Snap to the middle of faces"}
#define SCE_SNAP_TO_VERTEX
@ SCE_SNAP_TO_EDGE_MIDPOINT
@ SCE_SNAP_TO_EDGE_PERPENDICULAR
@ SCE_SNAP_TO_FACE_MIDPOINT

Definition at line 150 of file rna_scene.cc.