Blender V5.0
blender::eevee::VolumeProbe Struct Reference

#include <eevee_lightprobe.hh>

Inherits blender::eevee::LightProbe, and blender::eevee::VolumeProbeData.

Public Attributes

float4x4 object_to_world
float4x4 world_to_object
const LightProbeObjectCachecache = nullptr
Vector< IrradianceBrickPackedbricks
bool do_update
int grid_index
float surfel_density
float validity_threshold
float dilation_threshold
float dilation_radius
float intensity
Public Attributes inherited from blender::eevee::LightProbe
bool used = false
bool initialized = false
bool updated = false
bool viewport_display = false
float viewport_display_size = 0.0f
Public Attributes inherited from blender::eevee::VolumeProbeData
float3x4 world_to_grid_transposed
packed_int3 grid_size_padded
int brick_offset
float normal_bias
float view_bias
float facing_bias
int _pad1

Detailed Description

Definition at line 129 of file eevee_lightprobe.hh.

Member Data Documentation

◆ bricks

Vector<IrradianceBrickPacked> blender::eevee::VolumeProbe::bricks

List of associated atlas bricks that are used by this grid.

Definition at line 142 of file eevee_lightprobe.hh.

◆ cache

const LightProbeObjectCache* blender::eevee::VolumeProbe::cache = nullptr

Reference to the light-cache data. Do not try to dereference it before LightProbeModule::end_sync() as the grid could already have been freed (along with its cache). It is only safe to dereference after the pruning have been done.

Definition at line 140 of file eevee_lightprobe.hh.

◆ dilation_radius

float blender::eevee::VolumeProbe::dilation_radius

Definition at line 152 of file eevee_lightprobe.hh.

◆ dilation_threshold

float blender::eevee::VolumeProbe::dilation_threshold

Definition at line 151 of file eevee_lightprobe.hh.

◆ do_update

bool blender::eevee::VolumeProbe::do_update

True if the grid needs to be re-uploaded & re-composited with other light-grids.

Definition at line 144 of file eevee_lightprobe.hh.

◆ grid_index

int blender::eevee::VolumeProbe::grid_index

Index of the grid inside the grid UBO.

Definition at line 146 of file eevee_lightprobe.hh.

◆ intensity

float blender::eevee::VolumeProbe::intensity

Definition at line 153 of file eevee_lightprobe.hh.

◆ object_to_world

float4x4 blender::eevee::VolumeProbe::object_to_world

Copy of the transform matrix.

Definition at line 131 of file eevee_lightprobe.hh.

Referenced by blender::eevee::VolumeProbeModule::set_view().

◆ surfel_density

float blender::eevee::VolumeProbe::surfel_density

Copy of surfel density for debugging purpose.

Definition at line 148 of file eevee_lightprobe.hh.

◆ validity_threshold

float blender::eevee::VolumeProbe::validity_threshold

Copy of DNA members.

Definition at line 150 of file eevee_lightprobe.hh.

◆ world_to_object

float4x4 blender::eevee::VolumeProbe::world_to_object

Precomputed inverse transform with normalized axes. No position. Used for rotating SH.

Definition at line 133 of file eevee_lightprobe.hh.


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