Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/light.h
| Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | public: | ||||
| NODE_SOCKET_API(int, map_resolution) | NODE_SOCKET_API(int, map_resolution) | ||||
| NODE_SOCKET_API(float, spot_angle) | NODE_SOCKET_API(float, spot_angle) | ||||
| NODE_SOCKET_API(float, spot_smooth) | NODE_SOCKET_API(float, spot_smooth) | ||||
| NODE_SOCKET_API(bool, cast_shadow) | NODE_SOCKET_API(bool, cast_shadow) | ||||
| NODE_SOCKET_API(bool, use_mis) | NODE_SOCKET_API(bool, use_mis) | ||||
| NODE_SOCKET_API(bool, use_camera) | |||||
| NODE_SOCKET_API(bool, use_diffuse) | NODE_SOCKET_API(bool, use_diffuse) | ||||
| NODE_SOCKET_API(bool, use_glossy) | NODE_SOCKET_API(bool, use_glossy) | ||||
| NODE_SOCKET_API(bool, use_transmission) | NODE_SOCKET_API(bool, use_transmission) | ||||
| NODE_SOCKET_API(bool, use_scatter) | NODE_SOCKET_API(bool, use_scatter) | ||||
| NODE_SOCKET_API(bool, is_shadow_catcher) | |||||
| NODE_SOCKET_API(bool, is_portal) | NODE_SOCKET_API(bool, is_portal) | ||||
| NODE_SOCKET_API(bool, is_enabled) | NODE_SOCKET_API(bool, is_enabled) | ||||
| NODE_SOCKET_API(Shader *, shader) | NODE_SOCKET_API(Shader *, shader) | ||||
| NODE_SOCKET_API(int, samples) | |||||
| NODE_SOCKET_API(int, max_bounces) | NODE_SOCKET_API(int, max_bounces) | ||||
| NODE_SOCKET_API(uint, random_id) | NODE_SOCKET_API(uint, random_id) | ||||
| void tag_update(Scene *scene); | void tag_update(Scene *scene); | ||||
| /* Check whether the light has contribution the scene. */ | /* Check whether the light has contribution the scene. */ | ||||
| bool has_contribution(Scene *scene); | bool has_contribution(Scene *scene); | ||||
| Show All 13 Lines | enum : uint32_t { | ||||
| SHADER_MODIFIED = (1 << 7), | SHADER_MODIFIED = (1 << 7), | ||||
| /* tag everything in the manager for an update */ | /* tag everything in the manager for an update */ | ||||
| UPDATE_ALL = ~0u, | UPDATE_ALL = ~0u, | ||||
| UPDATE_NONE = 0u, | UPDATE_NONE = 0u, | ||||
| }; | }; | ||||
| bool use_light_visibility; | |||||
| /* Need to update background (including multiple importance map) */ | /* Need to update background (including multiple importance map) */ | ||||
| bool need_update_background; | bool need_update_background; | ||||
| LightManager(); | LightManager(); | ||||
| ~LightManager(); | ~LightManager(); | ||||
| /* IES texture management */ | /* IES texture management */ | ||||
| int add_ies(const string &ies); | int add_ies(const string &ies); | ||||
| ▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines | |||||