Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/eevee/eevee_lightcache.h
| Show All 14 Lines | |||||
| * | * | ||||
| * Copyright 2018, Blender Foundation. | * Copyright 2018, Blender Foundation. | ||||
| */ | */ | ||||
| /** \file | /** \file | ||||
| * \ingroup eevee | * \ingroup eevee | ||||
| */ | */ | ||||
| #ifndef __EEVEE_LIGHTCACHE_H__ | #pragma once | ||||
| #define __EEVEE_LIGHTCACHE_H__ | |||||
| #include "BLI_sys_types.h" /* for bool */ | #include "BLI_sys_types.h" /* for bool */ | ||||
| struct EEVEE_Data; | struct EEVEE_Data; | ||||
| struct EEVEE_ViewLayerData; | struct EEVEE_ViewLayerData; | ||||
| struct LightCache; | struct LightCache; | ||||
| struct Scene; | struct Scene; | ||||
| struct SceneEEVEE; | struct SceneEEVEE; | ||||
| Show All 24 Lines | |||||
| struct LightCache *EEVEE_lightcache_create(const int grid_len, | struct LightCache *EEVEE_lightcache_create(const int grid_len, | ||||
| const int cube_len, | const int cube_len, | ||||
| const int cube_size, | const int cube_size, | ||||
| const int vis_size, | const int vis_size, | ||||
| const int irr_size[3]); | const int irr_size[3]); | ||||
| void EEVEE_lightcache_free(struct LightCache *lcache); | void EEVEE_lightcache_free(struct LightCache *lcache); | ||||
| bool EEVEE_lightcache_load(struct LightCache *lcache); | bool EEVEE_lightcache_load(struct LightCache *lcache); | ||||
| void EEVEE_lightcache_info_update(struct SceneEEVEE *eevee); | void EEVEE_lightcache_info_update(struct SceneEEVEE *eevee); | ||||
| #endif /* __EEVEE_LIGHTCACHE_H__ */ | |||||