Blender V2.61 - r43446
|
#include <shader.h>
Public Member Functions | |
Shader () | |
~Shader () | |
void | set_graph (ShaderGraph *graph) |
void | tag_update (Scene *scene) |
Public Attributes | |
string | name |
ShaderGraph * | graph |
ShaderGraph * | graph_bump |
bool | sample_as_light |
bool | homogeneous_volume |
bool | need_update |
bool | need_update_attributes |
bool | has_surface |
bool | has_surface_emission |
bool | has_surface_transparent |
bool | has_volume |
bool | has_displacement |
AttributeRequestSet | attributes |
CCL_NAMESPACE_BEGIN Shader::Shader | ( | ) |
Definition at line 35 of file shader.cpp.
References graph, graph_bump, has_displacement, has_surface, has_surface_emission, has_surface_transparent, has_volume, homogeneous_volume, name, need_update, need_update_attributes, NULL, and sample_as_light.
Shader::~Shader | ( | ) |
Definition at line 55 of file shader.cpp.
References graph, and graph_bump.
void Shader::set_graph | ( | ShaderGraph * | graph | ) |
Definition at line 61 of file shader.cpp.
References graph, graph_bump, and NULL.
Referenced by xml_read_shader_graph().
void Shader::tag_update | ( | Scene * | scene | ) |
Definition at line 70 of file shader.cpp.
References attributes, ShaderNode::attributes(), AttributeRequestSet::clear(), graph, has_surface_emission, Scene::light_manager, Scene::mesh_manager, AttributeRequestSet::modified(), need_update, LightManager::need_update, ShaderManager::need_update, MeshManager::need_update, need_update_attributes, ShaderGraph::nodes, sample_as_light, and Scene::shader_manager.
Referenced by xml_read_shader_graph().
Definition at line 75 of file shader.h.
Referenced by MeshManager::device_update_attributes(), and tag_update().
Definition at line 52 of file shader.h.
Referenced by ShaderManager::add_default(), SVMShaderManager::device_update(), set_graph(), Shader(), tag_update(), and ~Shader().
Definition at line 57 of file shader.h.
Referenced by set_graph(), Shader(), and ~Shader().
Definition at line 72 of file shader.h.
Referenced by SVMCompiler::compile_type(), MeshManager::displace(), and Shader().
bool Shader::has_surface |
Definition at line 68 of file shader.h.
Referenced by SVMCompiler::compile_type(), and Shader().
Definition at line 69 of file shader.h.
Referenced by SVMShaderManager::device_update(), LightManager::device_update_distribution(), SVMCompiler::generate_closure(), SVMCompiler::generate_multi_closure(), Shader(), tag_update(), and Object::tag_update().
Definition at line 70 of file shader.h.
Referenced by ShaderManager::device_update_common(), SVMCompiler::generate_closure(), SVMCompiler::generate_multi_closure(), and Shader().
bool Shader::has_volume |
Definition at line 71 of file shader.h.
Referenced by SVMCompiler::compile_type(), ShaderManager::device_update_common(), and Shader().
Definition at line 61 of file shader.h.
Referenced by ShaderManager::device_update_common(), and Shader().
string Shader::name |
Definition at line 49 of file shader.h.
Referenced by ShaderManager::add_default(), Shader(), xml_read_shader(), and xml_read_state().
bool Shader::need_update |
Definition at line 64 of file shader.h.
Referenced by SVMShaderManager::device_update(), Shader(), and tag_update().
Definition at line 65 of file shader.h.
Referenced by MeshManager::device_update(), Shader(), and tag_update().
Definition at line 60 of file shader.h.
Referenced by SVMShaderManager::device_update(), ShaderManager::device_update_common(), LightManager::device_update_distribution(), Shader(), tag_update(), and Object::tag_update().