Blender V2.61 - r43446
Functions

render_update.c File Reference

#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_threads.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 "RE_engine.h"
#include "ED_node.h"
#include "ED_render.h"
#include "render_intern.h"

Go to the source code of this file.

Functions

void ED_render_scene_update (Main *bmain, Scene *scene, int updated)
void ED_render_engine_changed (Main *bmain)
static int mtex_use_tex (MTex **mtex, int tot, Tex *tex)
static int nodes_use_tex (bNodeTree *ntree, Tex *tex)
static int nodes_use_material (bNodeTree *ntree, Material *ma)
static void material_changed (Main *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)

Detailed Description

Definition in file render_update.c.


Function Documentation

void ED_render_engine_changed ( Main bmain)
void ED_render_id_flush_update ( Main bmain,
ID id 
)
void ED_render_scene_update ( Main bmain,
Scene scene,
int  updated 
)
static void image_changed ( Main bmain,
Image ima 
) [static]
static void lamp_changed ( Main bmain,
Lamp la 
) [static]
static void material_changed ( Main bmain,
Material ma 
) [static]
static int mtex_use_tex ( MTex **  mtex,
int  tot,
Tex tex 
) [static]

Definition at line 153 of file render_update.c.

Referenced by nodes_use_tex(), and texture_changed().

static int nodes_use_material ( bNodeTree ntree,
Material ma 
) [static]

Definition at line 190 of file render_update.c.

References ListBase::first, bNode::id, bNode::next, NODE_GROUP, bNodeTree::nodes, and bNode::type.

Referenced by material_changed().

static int nodes_use_tex ( bNodeTree ntree,
Tex tex 
) [static]
static void scene_changed ( Main bmain,
Scene UNUSEDscene 
) [static]
static void texture_changed ( Main bmain,
Tex tex 
) [static]
static void world_changed ( Main bmain,
World wo 
) [static]