Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/nodes.h
| Context not available. | |||||
| void *builtin_data; | void *builtin_data; | ||||
| ustring color_space; | ustring color_space; | ||||
| ustring projection; | ustring projection; | ||||
| ustring interpolation; | |||||
| float projection_blend; | float projection_blend; | ||||
| bool animated; | bool animated; | ||||
| static ShaderEnum color_space_enum; | static ShaderEnum color_space_enum; | ||||
| static ShaderEnum projection_enum; | static ShaderEnum projection_enum; | ||||
| static ShaderEnum interpolation_enum; | |||||
| }; | }; | ||||
| class EnvironmentTextureNode : public TextureNode { | class EnvironmentTextureNode : public TextureNode { | ||||
| Context not available. | |||||
| float3 sun_direction; | float3 sun_direction; | ||||
| float turbidity; | float turbidity; | ||||
| float ground_albedo; | float ground_albedo; | ||||
| ustring type; | ustring type; | ||||
| static ShaderEnum type_enum; | static ShaderEnum type_enum; | ||||
| }; | }; | ||||
| Context not available. | |||||
| class BrickTextureNode : public TextureNode { | class BrickTextureNode : public TextureNode { | ||||
| public: | public: | ||||
| SHADER_NODE_CLASS(BrickTextureNode) | SHADER_NODE_CLASS(BrickTextureNode) | ||||
| float offset, squash; | float offset, squash; | ||||
| int offset_frequency, squash_frequency; | int offset_frequency, squash_frequency; | ||||
| }; | }; | ||||
| Context not available. | |||||
| public: | public: | ||||
| SHADER_NODE_CLASS(TextureCoordinateNode) | SHADER_NODE_CLASS(TextureCoordinateNode) | ||||
| void attributes(Shader *shader, AttributeRequestSet *attributes); | void attributes(Shader *shader, AttributeRequestSet *attributes); | ||||
| bool from_dupli; | bool from_dupli; | ||||
| }; | }; | ||||
| Context not available. | |||||
| class WireframeNode : public ShaderNode { | class WireframeNode : public ShaderNode { | ||||
| public: | public: | ||||
| SHADER_NODE_CLASS(WireframeNode) | SHADER_NODE_CLASS(WireframeNode) | ||||
| bool use_pixel_size; | bool use_pixel_size; | ||||
| }; | }; | ||||
| Context not available. | |||||
| class BlackbodyNode : public ShaderNode { | class BlackbodyNode : public ShaderNode { | ||||
| public: | public: | ||||
| SHADER_NODE_CLASS(BlackbodyNode) | SHADER_NODE_CLASS(BlackbodyNode) | ||||
| bool has_converter_blackbody() { return true; } | bool has_converter_blackbody() { return true; } | ||||
| }; | }; | ||||
| Context not available. | |||||
| ustring type; | ustring type; | ||||
| ustring convert_from; | ustring convert_from; | ||||
| ustring convert_to; | ustring convert_to; | ||||
| static ShaderEnum type_enum; | static ShaderEnum type_enum; | ||||
| static ShaderEnum convert_space_enum; | static ShaderEnum convert_space_enum; | ||||
| }; | }; | ||||
| Context not available. | |||||
| SHADER_NODE_CLASS(OSLScriptNode) | SHADER_NODE_CLASS(OSLScriptNode) | ||||
| string filepath; | string filepath; | ||||
| string bytecode_hash; | string bytecode_hash; | ||||
| /* ShaderInput/ShaderOutput only stores a shallow string copy (const char *)! | /* ShaderInput/ShaderOutput only stores a shallow string copy (const char *)! | ||||
| * The actual socket names have to be stored externally to avoid memory errors. */ | * The actual socket names have to be stored externally to avoid memory errors. */ | ||||
| vector<ustring> input_names; | vector<ustring> input_names; | ||||
| Context not available. | |||||