|
Blender V4.3
|
#include <eevee_lightprobe.hh>
Classes | |
| class | LocationFinder |
Public Member Functions | |
| void | free () |
| int | area_extent (int mip_lvl=0) const |
| int2 | area_location () const |
| int2 | area_offset (int mip_lvl=0) const |
| SphereProbeUvArea | as_sampling_coord () const |
| SphereProbePixelArea | as_write_coord (int mip_lvl) const |
Public Attributes | |
| int | atlas_layer = -1 |
| int | subdivision_lvl = -1 |
| int | area_index = -1 |
Definition at line 30 of file eevee_lightprobe.hh.
Definition at line 45 of file eevee_lightprobe.hh.
References SPHERE_PROBE_ATLAS_RES, and subdivision_lvl.
Referenced by area_offset(), as_sampling_coord(), and as_write_coord().
|
inline |
Definition at line 51 of file eevee_lightprobe.hh.
References area_index, and subdivision_lvl.
Referenced by area_offset(), and blender::eevee::SphereProbeAtlasCoord::LocationFinder::mark_space_used().
Definition at line 58 of file eevee_lightprobe.hh.
References area_extent(), and area_location().
Referenced by as_sampling_coord(), and as_write_coord().
|
inline |
Definition at line 63 of file eevee_lightprobe.hh.
References area_extent(), area_offset(), atlas_layer, float, blender::eevee::SphereProbeUvArea::layer, blender::eevee::SphereProbeUvArea::offset, blender::eevee::SphereProbeUvArea::scale, and SPHERE_PROBE_ATLAS_RES.
Referenced by blender::eevee::LightProbeModule::sync_world().
|
inline |
Definition at line 72 of file eevee_lightprobe.hh.
References area_extent(), area_offset(), atlas_layer, blender::eevee::SphereProbePixelArea::extent, blender::eevee::SphereProbePixelArea::layer, and blender::eevee::SphereProbePixelArea::offset.
|
inline |
Release the current atlas space held by this probe.
Definition at line 39 of file eevee_lightprobe.hh.
References atlas_layer.
Referenced by blender::eevee::LightProbeModule::sync_world().
| int blender::eevee::SphereProbeAtlasCoord::area_index = -1 |
Area index within the layer with the according subdivision level.
Definition at line 36 of file eevee_lightprobe.hh.
Referenced by area_location(), and blender::eevee::SphereProbeAtlasCoord::LocationFinder::mark_space_used().
| int blender::eevee::SphereProbeAtlasCoord::atlas_layer = -1 |
On which layer of the texture array is this reflection probe stored.
Definition at line 32 of file eevee_lightprobe.hh.
Referenced by as_sampling_coord(), as_write_coord(), free(), and blender::eevee::SphereProbeAtlasCoord::LocationFinder::mark_space_used().
| int blender::eevee::SphereProbeAtlasCoord::subdivision_lvl = -1 |
Gives the extent of this probe relative to the atlas size.
Definition at line 34 of file eevee_lightprobe.hh.
Referenced by area_extent(), area_location(), blender::eevee::SphereProbeAtlasCoord::LocationFinder::first_free_spot(), blender::eevee::SphereProbeAtlasCoord::LocationFinder::mark_space_used(), and blender::eevee::LightProbeModule::sync_world().