Blender V5.3
blender::LightCache Struct Reference

#include <DNA_lightprobe_types.h>

Public Attributes

eLightCache_Flag flag = {}
int version = 0
eLightCacheType type = LIGHTCACHE_TYPE_STATIC
int cube_len = 0
int grid_len = 0
int mips_len = 0
int vis_res = 0
int ref_res = 0
char _pad [4][2] = {}
LightCacheTexture grid_tx
LightCacheTexture cube_tx
LightCacheTexture * cube_mips = nullptr
LightProbeCache * cube_data = nullptr
LightGridCache * grid_data = nullptr

Detailed Description

Definition at line 232 of file DNA_lightprobe_types.h.

Member Data Documentation

◆ _pad

char blender::LightCache::_pad[4][2] = {}

Definition at line 245 of file DNA_lightprobe_types.h.

◆ cube_data

LightProbeCache* blender::LightCache::cube_data = nullptr

Definition at line 255 of file DNA_lightprobe_types.h.

◆ cube_len

int blender::LightCache::cube_len = 0

Number of probes to use for rendering.

Definition at line 240 of file DNA_lightprobe_types.h.

◆ cube_mips

LightCacheTexture* blender::LightCache::cube_mips = nullptr

Does not contains valid gpu::Texture, only data.

Definition at line 253 of file DNA_lightprobe_types.h.

◆ cube_tx

LightCacheTexture blender::LightCache::cube_tx

Contains data for mipmap level 0.

Definition at line 251 of file DNA_lightprobe_types.h.

◆ flag

eLightCache_Flag blender::LightCache::flag = {}

Definition at line 233 of file DNA_lightprobe_types.h.

◆ grid_data

LightGridCache* blender::LightCache::grid_data = nullptr

Definition at line 256 of file DNA_lightprobe_types.h.

◆ grid_len

int blender::LightCache::grid_len = 0

Definition at line 240 of file DNA_lightprobe_types.h.

◆ grid_tx

LightCacheTexture blender::LightCache::grid_tx

Definition at line 249 of file DNA_lightprobe_types.h.

◆ mips_len

int blender::LightCache::mips_len = 0

Number of mipmap level to use.

Definition at line 242 of file DNA_lightprobe_types.h.

◆ ref_res

int blender::LightCache::ref_res = 0

Definition at line 244 of file DNA_lightprobe_types.h.

◆ type

eLightCacheType blender::LightCache::type = LIGHTCACHE_TYPE_STATIC

Type of data this cache contains.

Definition at line 237 of file DNA_lightprobe_types.h.

◆ version

int blender::LightCache::version = 0

Version number to know if the cache data is compatible with this version of blender.

Definition at line 235 of file DNA_lightprobe_types.h.

◆ vis_res

int blender::LightCache::vis_res = 0

Size of a visibility/reflection sample.

Definition at line 244 of file DNA_lightprobe_types.h.


The documentation for this struct was generated from the following file: