Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/osl.h
| Show First 20 Lines • Show All 139 Lines • ▼ Show 20 Lines | public: | ||||
| bool background; | bool background; | ||||
| ImageManager *image_manager; | ImageManager *image_manager; | ||||
| private: | private: | ||||
| #ifdef WITH_OSL | #ifdef WITH_OSL | ||||
| string id(ShaderNode *node); | string id(ShaderNode *node); | ||||
| OSL::ShadingAttribStateRef compile_type(Shader *shader, ShaderGraph *graph, ShaderType type); | OSL::ShadingAttribStateRef compile_type(Shader *shader, ShaderGraph *graph, ShaderType type); | ||||
| bool node_skip_input(ShaderNode *node, ShaderInput *input); | bool node_skip_input(const ShaderNode *node, const ShaderInput *input) const; | ||||
| string compatible_name(ShaderNode *node, ShaderInput *input); | string compatible_name(ShaderNode *node, ShaderInput *input); | ||||
| string compatible_name(ShaderNode *node, ShaderOutput *output); | string compatible_name(ShaderNode *node, ShaderOutput *output); | ||||
| void find_dependencies(set<ShaderNode*>& dependencies, ShaderInput *input); | void find_dependencies(set<ShaderNode*>& dependencies, const ShaderInput *input) const; | ||||
| void generate_nodes(const set<ShaderNode*>& nodes); | void generate_nodes(const set<ShaderNode*>& nodes); | ||||
| #endif | #endif | ||||
| void *shadingsys; | void *shadingsys; | ||||
| void *manager; | void *manager; | ||||
| ShaderType current_type; | ShaderType current_type; | ||||
| Shader *current_shader; | Shader *current_shader; | ||||
| }; | }; | ||||
| CCL_NAMESPACE_END | CCL_NAMESPACE_END | ||||
| #endif /* __OSL_H__ */ | #endif /* __OSL_H__ */ | ||||