Blender V2.61 - r43446
Public Member Functions | Public Attributes

Shader Class Reference

#include <shader.h>

List of all members.

Public Member Functions

 Shader ()
 ~Shader ()
void set_graph (ShaderGraph *graph)
void tag_update (Scene *scene)

Public Attributes

string name
ShaderGraphgraph
ShaderGraphgraph_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

Detailed Description

Definition at line 46 of file shader.h.


Constructor & Destructor Documentation

CCL_NAMESPACE_BEGIN Shader::Shader ( )
Shader::~Shader ( )

Definition at line 55 of file shader.cpp.

References graph, and graph_bump.


Member Function Documentation

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)

Member Data Documentation

Definition at line 75 of file shader.h.

Referenced by MeshManager::device_update_attributes(), and tag_update().

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().

Definition at line 68 of file shader.h.

Referenced by SVMCompiler::compile_type(), and Shader().

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().

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().


The documentation for this class was generated from the following files: