Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_lightprobe_types.h
| Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | |||||
| /* These are used as UBO data. They need to be aligned to size of vec4. */ | /* These are used as UBO data. They need to be aligned to size of vec4. */ | ||||
| BLI_STATIC_ASSERT_ALIGN(LightProbeCache, 16) | BLI_STATIC_ASSERT_ALIGN(LightProbeCache, 16) | ||||
| BLI_STATIC_ASSERT_ALIGN(LightGridCache, 16) | BLI_STATIC_ASSERT_ALIGN(LightGridCache, 16) | ||||
| /* ------ Eevee Lightcache ------- */ | /* ------ Eevee Lightcache ------- */ | ||||
| typedef struct LightCacheTexture { | typedef struct LightCacheTexture { | ||||
| struct GPUTexture *tex; | struct GPUTexture *tex; | ||||
| /** Copy of GPU datas to create GPUTextures on file read. */ | /** Copy of GPU data to create GPUTextures on file read. */ | ||||
| char *data; | char *data; | ||||
| int tex_size[3]; | int tex_size[3]; | ||||
| char data_type; | char data_type; | ||||
| char components; | char components; | ||||
| char _pad[2]; | char _pad[2]; | ||||
| } LightCacheTexture; | } LightCacheTexture; | ||||
| typedef struct LightCache { | typedef struct LightCache { | ||||
| ▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines | |||||