34#define AI_SHADER_NODE_EXPORT_METHODS(tag) \
35AI_INSTANCE_COMMON_METHODS \
37static AtShaderNodeMethods ai_shader_mtds = { \
40static AtNodeMethods ai_node_mtds = { \
44const AtNodeMethods* tag = &ai_node_mtds;
52#define shader_evaluate \
53static void Evaluate(AtNode* node, AtShaderGlobals* sg)
DLL export prefix for API functions (necessary for multi-platform development)
AtNode struct and methods.
AI_API void AiShaderEvaluate(AtNode *node, AtShaderGlobals *sg)
Evaluate a shader.
Definition: ai_shaders.cpp:22
This represents a node in Arnold.
Shader globals data structure.
Definition: ai_shaderglobals.h:45
Shader Node methods structure.
Definition: ai_shaders.h:29