ai_shader_lights.h
1 /*
2  * Arnold API header file
3  * Copyright (c) 1998-2009 Marcos Fajardo, (c) 2009-2013 Solid Angle SL
4  */
5 
11 #pragma once
12 #include "ai_nodes.h"
13 #include "ai_shaderglobals.h"
14 #include "ai_color.h"
15 #include "ai_vector.h"
16 #include "ai_ray.h"
17 
27 AI_API void AiLightsPrepare(AtShaderGlobals* sg);
28 AI_API bool AiLightsGetSample(AtShaderGlobals* sg);
30 AI_API void AiLightsResetCache(AtShaderGlobals* sg);
31 /*\}*/
32 
39 AI_API AtRGB AiLightGetColor(const AtNode* node);
40 AI_API float AiLightGetIntensity(const AtNode* node);
41 AI_API bool AiLightGetAffectDiffuse(const AtNode* node);
42 AI_API bool AiLightGetAffectSpecular(const AtNode* node);
43 AI_API float AiLightGetDiffuse(const AtNode* node);
44 AI_API float AiLightGetSpecular(const AtNode* node);
45 AI_API float AiLightGetSSS(const AtNode* node);
46 /*\}*/
47 
48 /*\}*/

© 2009-2013 Solid Angle SL · all rights reserved · www.solidangle.com