Blender V5.3
render_shading.cc File Reference
#include <cstdlib>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "DNA_ID.h"
#include "DNA_curve_types.h"
#include "DNA_light_types.h"
#include "DNA_lightprobe_types.h"
#include "DNA_material_types.h"
#include "DNA_node_types.h"
#include "DNA_object_types.h"
#include "DNA_particle_types.h"
#include "DNA_scene_types.h"
#include "DNA_space_types.h"
#include "DNA_world_types.h"
#include "BLI_array_utils.hh"
#include "BLI_listbase.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_path_utils.hh"
#include "BLI_string_utils.hh"
#include "BLI_utildefines.hh"
#include "BLT_translation.hh"
#include "BKE_anim_data.hh"
#include "BKE_animsys.hh"
#include "BKE_appdir.hh"
#include "BKE_blender_copybuffer.hh"
#include "BKE_blendfile.hh"
#include "BKE_brush.hh"
#include "BKE_context.hh"
#include "BKE_curve.hh"
#include "BKE_editmesh.hh"
#include "BKE_global.hh"
#include "BKE_image.hh"
#include "BKE_layer.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_lib_remap.hh"
#include "BKE_library.hh"
#include "BKE_lightprobe.h"
#include "BKE_linestyle.h"
#include "BKE_main.hh"
#include "BKE_main_invariants.hh"
#include "BKE_material.hh"
#include "BKE_node.hh"
#include "BKE_node_runtime.hh"
#include "BKE_node_tree_update.hh"
#include "BKE_object.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "BKE_texture.h"
#include "BKE_vfont.hh"
#include "BKE_workspace.hh"
#include "BKE_world.h"
#include "NOD_composite.hh"
#include "NOD_defaults.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "DEG_depsgraph_query.hh"
#include "RNA_access.hh"
#include "RNA_path.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_curve.hh"
#include "ED_mesh.hh"
#include "ED_node.hh"
#include "ED_object.hh"
#include "ED_paint.hh"
#include "ED_render.hh"
#include "ED_scene.hh"
#include "ED_screen.hh"
#include "ED_undo.hh"
#include "RNA_define.hh"
#include "RNA_prototypes.hh"
#include "UI_interface.hh"
#include "RE_engine.h"
#include "RE_pipeline.h"
#include "engines/eevee/eevee_lightcache.hh"
#include "render_intern.hh"

Go to the source code of this file.

Classes

struct  blender::BakeOperatorData

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define SWAP_MEMBER(member)

Functions

Shared Operator Poll Functions
static bool blender::object_materials_supported_poll_ex (bContext *C, const Object *ob)
static bool blender::object_materials_supported_poll (bContext *C)
static bool blender::material_slot_populated_poll (bContext *C)
Local Utilities
static void blender::material_copybuffer_filepath_get (char filepath[FILE_MAX], size_t filepath_maxncpy)
static bool blender::object_array_for_shading_edit_mode_enabled_filter (const Object *ob, void *user_data)
static Vector< Object * > blender::object_array_for_shading_edit_mode_enabled (bContext *C)
static bool blender::object_array_for_shading_edit_mode_disabled_filter (const Object *ob, void *user_data)
static Vector< Object * > blender::object_array_for_shading_edit_mode_disabled (bContext *C)
Material Slot Add Operator
static wmOperatorStatus blender::material_slot_add_exec (bContext *C, wmOperator *)
void blender::OBJECT_OT_material_slot_add (wmOperatorType *ot)
Material Slot Remove Operator
static bool blender::material_slot_remove_poll (bContext *C)
static wmOperatorStatus blender::material_slot_remove_exec (bContext *C, wmOperator *)
void blender::OBJECT_OT_material_slot_remove (wmOperatorType *ot)
Material Slot Assign Operator
static wmOperatorStatus blender::material_slot_assign_exec (bContext *C, wmOperator *)
void blender::OBJECT_OT_material_slot_assign (wmOperatorType *ot)
Material Slot (De)Select Operator
static wmOperatorStatus blender::material_slot_de_select (bContext *C, bool select)
static wmOperatorStatus blender::material_slot_select_exec (bContext *C, wmOperator *)
void blender::OBJECT_OT_material_slot_select (wmOperatorType *ot)
static wmOperatorStatus blender::material_slot_deselect_exec (bContext *C, wmOperator *)
void blender::OBJECT_OT_material_slot_deselect (wmOperatorType *ot)
Material Slot Copy Operator
static wmOperatorStatus blender::material_slot_copy_exec (bContext *C, wmOperator *)
void blender::OBJECT_OT_material_slot_copy (wmOperatorType *ot)
Material Slot Move Operator
static wmOperatorStatus blender::material_slot_move_exec (bContext *C, wmOperator *op)
void blender::OBJECT_OT_material_slot_move (wmOperatorType *ot)
Material Slot Remove Unused Operator
static wmOperatorStatus blender::material_slot_remove_unused_exec (bContext *C, wmOperator *op)
void blender::OBJECT_OT_material_slot_remove_unused (wmOperatorType *ot)
static wmOperatorStatus blender::material_slot_remove_all_exec (bContext *C, wmOperator *op)
void blender::OBJECT_OT_material_slot_remove_all (wmOperatorType *ot)
New Material Operator
static wmOperatorStatus blender::new_material_exec (bContext *C, wmOperator *)
void blender::MATERIAL_OT_new (wmOperatorType *ot)
New Texture Operator
static wmOperatorStatus blender::new_texture_exec (bContext *C, wmOperator *op)
void blender::TEXTURE_OT_new (wmOperatorType *ot)
new world operator
static wmOperatorStatus blender::new_world_exec (bContext *C, wmOperator *)
void blender::WORLD_OT_new (wmOperatorType *ot)
Render Layer Add Operator
static wmOperatorStatus blender::view_layer_add_exec (bContext *C, wmOperator *op)
void blender::SCENE_OT_view_layer_add (wmOperatorType *ot)
Render Layer Remove Operator
static bool blender::view_layer_remove_poll (bContext *C)
static wmOperatorStatus blender::view_layer_remove_exec (bContext *C, wmOperator *)
void blender::SCENE_OT_view_layer_remove (wmOperatorType *ot)
View Layer Add AOV Operator
static wmOperatorStatus blender::view_layer_add_aov_exec (bContext *C, wmOperator *)
void blender::SCENE_OT_view_layer_add_aov (wmOperatorType *ot)
View Layer Remove AOV Operator
static wmOperatorStatus blender::view_layer_remove_aov_exec (bContext *C, wmOperator *)
void blender::SCENE_OT_view_layer_remove_aov (wmOperatorType *ot)
View Layer Add Lightgroup Operator
static wmOperatorStatus blender::view_layer_add_lightgroup_exec (bContext *C, wmOperator *op)
void blender::SCENE_OT_view_layer_add_lightgroup (wmOperatorType *ot)
View Layer Remove Lightgroup Operator
static wmOperatorStatus blender::view_layer_remove_lightgroup_exec (bContext *C, wmOperator *)
void blender::SCENE_OT_view_layer_remove_lightgroup (wmOperatorType *ot)
View Layer Add Used Lightgroups Operator
static Set< StringRefNull > blender::get_used_lightgroups (Scene *scene)
static wmOperatorStatus blender::view_layer_add_used_lightgroups_exec (bContext *C, wmOperator *)
void blender::SCENE_OT_view_layer_add_used_lightgroups (wmOperatorType *ot)
View Layer Remove Unused Lightgroups Operator
static wmOperatorStatus blender::view_layer_remove_unused_lightgroups_exec (bContext *C, wmOperator *)
void blender::SCENE_OT_view_layer_remove_unused_lightgroups (wmOperatorType *ot)
Light Cache Free Operator
static wmOperatorStatus blender::lightprobe_cache_free_exec (bContext *C, wmOperator *op)
void blender::OBJECT_OT_lightprobe_cache_free (wmOperatorType *ot)
Render View Remove Operator
static bool blender::render_view_remove_poll (bContext *C)
static wmOperatorStatus blender::render_view_add_exec (bContext *C, wmOperator *)
void blender::SCENE_OT_render_view_add (wmOperatorType *ot)
Render View Add Operator
static wmOperatorStatus blender::render_view_remove_exec (bContext *C, wmOperator *)
void blender::SCENE_OT_render_view_remove (wmOperatorType *ot)
Texture Slot Move Operator
static wmOperatorStatus blender::texture_slot_move_exec (bContext *C, wmOperator *op)
void blender::TEXTURE_OT_slot_move (wmOperatorType *ot)
Material Copy Operator
static wmOperatorStatus blender::copy_material_exec (bContext *C, wmOperator *op)
void blender::MATERIAL_OT_copy (wmOperatorType *ot)
Material Paste Operator
static int blender::paste_material_nodetree_ids_decref (LibraryIDLinkCallbackData *cb_data)
static int blender::paste_material_nodetree_ids_relink_or_clear (LibraryIDLinkCallbackData *cb_data)
static wmOperatorStatus blender::paste_material_exec (bContext *C, wmOperator *op)
void blender::MATERIAL_OT_paste (wmOperatorType *ot)
Texture Slot Copy Operator
static wmOperatorStatus blender::copy_mtex_exec (bContext *C, wmOperator *)
static bool blender::copy_mtex_poll (bContext *C)
void blender::TEXTURE_OT_slot_copy (wmOperatorType *ot)
Texture Slot Paste Operator
static wmOperatorStatus blender::paste_mtex_exec (bContext *C, wmOperator *)
void blender::TEXTURE_OT_slot_paste (wmOperatorType *ot)

Light Cache Bake Operator

enum  { blender::LIGHTCACHE_SUBSET_ALL = 0 , blender::LIGHTCACHE_SUBSET_SELECTED , blender::LIGHTCACHE_SUBSET_ACTIVE }
static Vector< Object * > blender::lightprobe_cache_irradiance_volume_subset_get (bContext *C, wmOperator *op)
static wmOperatorStatus blender::lightprobe_cache_bake_invoke (bContext *C, wmOperator *op, const wmEvent *)
static wmOperatorStatus blender::lightprobe_cache_bake_modal (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::lightprobe_cache_bake_cancel (bContext *C, wmOperator *op)
static wmOperatorStatus blender::lightprobe_cache_bake_exec (bContext *C, wmOperator *op)
void blender::OBJECT_OT_lightprobe_cache_bake (wmOperatorType *ot)

#MTex Copy/Paste Utilities

static short blender::mtexcopied = 0
static MTex blender::mtexcopybuf
void blender::ED_render_clear_mtex_copybuf ()
static void blender::copy_mtex_copybuf (ID *id)
static void blender::paste_mtex_copybuf (ID *id)

Macro Definition Documentation

◆ SWAP_MEMBER

#define SWAP_MEMBER ( member)
Value:
std::swap(ma->member, ma_from->member)

Referenced by blender::paste_material_exec().