Data Structures | |
struct | AtShaderNodeMethods |
Shader Node methods structure. More... | |
Macros | |
#define | AI_SHADER_NODE_EXPORT_METHODS(tag) |
Shader Node methods exporter. More... | |
Typedefs | |
typedef struct AtShaderNodeMethods | AtShaderNodeMethods |
Shader Node methods structure. | |
Node Method Declarations | |
#define | shader_evaluate static void Evaluate(AtNode* node, AtShaderGlobals* sg) |
Evaluate Shader method declaration. | |
Node Methods | |
AI_API void | AiShaderEvaluate (AtNode *node, AtShaderGlobals *sg) |
Evaluate a shader. More... | |
#define AI_SHADER_NODE_EXPORT_METHODS | ( | tag | ) |
Shader Node methods exporter.
AI_API void AiShaderEvaluate | ( | AtNode * | node, |
AtShaderGlobals * | sg | ||
) |
Evaluate a shader.
Use this to evaluate a shader (or shader network) at the given shading context.
node | the shader node that will be evaluated | |
[in,out] | sg | the shader globals context for this shader evaluation, with the return value in sg->out |