Blender V2.61 - r43446
|
#include <background.h>
Public Member Functions | |
Background () | |
~Background () | |
void | device_update (Device *device, DeviceScene *dscene, Scene *scene) |
void | device_free (Device *device, DeviceScene *dscene) |
bool | modified (const Background &background) |
void | tag_update (Scene *scene) |
Public Attributes | |
bool | transparent |
bool | need_update |
Definition at line 30 of file background.h.
CCL_NAMESPACE_BEGIN Background::Background | ( | ) |
Definition at line 32 of file render/background.cpp.
References need_update, and transparent.
Background::~Background | ( | ) |
Definition at line 38 of file render/background.cpp.
void Background::device_free | ( | Device * | device, |
DeviceScene * | dscene | ||
) |
Definition at line 57 of file render/background.cpp.
Referenced by device_update(), and Scene::~Scene().
void Background::device_update | ( | Device * | device, |
DeviceScene * | dscene, | ||
Scene * | scene | ||
) |
Definition at line 42 of file render/background.cpp.
References KernelData::background, DeviceScene::data, Scene::default_background, device_free(), ShaderManager::get_shader_id(), need_update, KernelBackground::shader, Scene::shader_manager, KernelBackground::transparent, and transparent.
Referenced by Scene::device_update().
bool Background::modified | ( | const Background & | background | ) |
Definition at line 61 of file render/background.cpp.
References transparent.
void Background::tag_update | ( | Scene * | scene | ) |
Definition at line 66 of file render/background.cpp.
References need_update.
Definition at line 33 of file background.h.
Referenced by Background(), device_update(), Scene::need_reset(), and tag_update().
Definition at line 32 of file background.h.
Referenced by Background(), device_update(), and modified().