Blender V2.61 - r43446
|
#include <svm.h>
Public Member Functions | |
SVMShaderManager () | |
~SVMShaderManager () | |
void | device_update (Device *device, DeviceScene *dscene, Scene *scene, Progress &progress) |
void | device_free (Device *device, DeviceScene *dscene) |
Definition at line 43 of file render/svm.h.
void SVMShaderManager::device_free | ( | Device * | device, |
DeviceScene * | dscene | ||
) | [virtual] |
Implements ShaderManager.
Definition at line 95 of file svm.cpp.
References device_vector< T >::clear(), ShaderManager::device_free_common(), DeviceScene::svm_nodes, and Device::tex_free().
Referenced by device_update().
void SVMShaderManager::device_update | ( | Device * | device, |
DeviceScene * | dscene, | ||
Scene * | scene, | ||
Progress & | progress | ||
) | [virtual] |
Implements ShaderManager.
Definition at line 43 of file svm.cpp.
References assert, SVMCompiler::background, SVMCompiler::compile(), device_vector< T >::copy(), DeviceScene::data, Scene::default_background, device_free(), ShaderManager::device_update_common(), Shader::graph, Shader::has_surface_emission, i, Scene::image_manager, Scene::light_manager, make_int4(), Shader::need_update, LightManager::need_update, ShaderManager::need_update, NODE_SHADER_JUMP, NULL, Shader::sample_as_light, Scene::shader_manager, Scene::shaders, KernelData::sunsky, SVMCompiler::sunsky, Device::support_full_kernel(), DeviceScene::svm_nodes, and Device::tex_alloc().