|
Blender
V2.59
|
#include <stdlib.h>#include <string.h>#include "MEM_guardedalloc.h"#include "DNA_lamp_types.h"#include "DNA_material_types.h"#include "DNA_node_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "DNA_screen_types.h"#include "DNA_space_types.h"#include "DNA_view3d_types.h"#include "DNA_world_types.h"#include "BLI_utildefines.h"#include "BKE_context.h"#include "BKE_depsgraph.h"#include "BKE_icons.h"#include "BKE_image.h"#include "BKE_main.h"#include "BKE_material.h"#include "BKE_node.h"#include "BKE_scene.h"#include "BKE_texture.h"#include "BKE_world.h"#include "GPU_material.h"#include "ED_render.h"#include "render_intern.h"Go to the source code of this file.
Functions | |
| static int | mtex_use_tex (MTex **mtex, int tot, Tex *tex) |
| static int | nodes_use_tex (bNodeTree *ntree, Tex *tex) |
| static void | material_changed (Main *UNUSED(bmain), Material *ma) |
| static void | texture_changed (Main *bmain, Tex *tex) |
| static void | lamp_changed (Main *bmain, Lamp *la) |
| static void | world_changed (Main *bmain, World *wo) |
| static void | image_changed (Main *bmain, Image *ima) |
| static void | scene_changed (Main *bmain, Scene *UNUSED(scene)) |
| void | ED_render_id_flush_update (Main *bmain, ID *id) |
Definition at line 210 of file render_update.c.
References GS, ID_IM, ID_LA, ID_MA, ID_SCE, ID_TE, ID_WO, image_changed(), lamp_changed(), material_changed(), ID::name, scene_changed(), texture_changed(), and world_changed().
Referenced by ED_object_add_duplicate(), ED_object_add_type(), and WM_init().
Definition at line 182 of file render_update.c.
References BKE_icon_changed(), BKE_icon_getid(), ListBase::first, Image::id, Tex::id, Tex::ima, ID::next, MTex::tex, Main::tex, and texture_changed().
Referenced by ED_render_id_flush_update().
Definition at line 151 of file render_update.c.
References BKE_icon_changed(), BKE_icon_getid(), Object::data, ListBase::first, GPU_lamp_free(), GPU_material_free(), Object::gpulamp, Material::gpumaterial, Lamp::id, Material::id, Object::id, Main::mat, ID::next, and Main::object.
Referenced by ED_render_id_flush_update().
Definition at line 103 of file render_update.c.
References BKE_icon_changed(), BKE_icon_getid(), ListBase::first, GPU_material_free(), Material::gpumaterial, and Material::id.
Referenced by ED_render_id_flush_update().
Definition at line 70 of file render_update.c.
Referenced by texture_changed().
Definition at line 84 of file render_update.c.
References ListBase::first, bNode::id, bNode::next, NODE_GROUP, bNodeTree::nodes, and bNode::type.
Referenced by texture_changed().
Definition at line 195 of file render_update.c.
References ListBase::first, GPU_lamp_free(), GPU_material_free(), Object::gpulamp, Material::gpumaterial, Material::id, Object::id, Main::mat, ID::next, and Main::object.
Referenced by ED_render_id_flush_update().
Definition at line 113 of file render_update.c.
References BKE_icon_changed(), BKE_icon_getid(), ListBase::first, GPU_material_free(), Material::gpumaterial, Lamp::id, World::id, Material::id, Tex::id, Main::lamp, Main::mat, MAX_MTEX, Lamp::mtex, World::mtex, Material::mtex, mtex_use_tex(), ID::next, nodes_use_tex(), Material::nodetree, Material::use_nodes, and Main::world.
Referenced by ED_render_id_flush_update(), and image_changed().
Definition at line 169 of file render_update.c.
References BKE_icon_changed(), BKE_icon_getid(), ListBase::first, GPU_material_free(), Material::gpumaterial, World::id, Material::id, Main::mat, and ID::next.
Referenced by ED_render_id_flush_update().