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

#include <eevee_shadow_shared.hh>

Public Attributes

float clip_near_stored
float clip_far_stored
int clip_near
int clip_far
Transform object_to_world
int2 grid_offset
int _pad0
int _pad1

Detailed Description

Per tilemap data persistent on GPU. Kept separately for easier clearing on GPU.

Definition at line 125 of file eevee_shadow_shared.hh.

Member Data Documentation

◆ _pad0

int blender::eevee::ShadowTileMapClip::_pad0

Definition at line 137 of file eevee_shadow_shared.hh.

◆ _pad1

int blender::eevee::ShadowTileMapClip::_pad1

Definition at line 138 of file eevee_shadow_shared.hh.

◆ clip_far

int blender::eevee::ShadowTileMapClip::clip_far

Definition at line 132 of file eevee_shadow_shared.hh.

Referenced by blender::draw::test_eevee_shadow_shift().

◆ clip_far_stored

float blender::eevee::ShadowTileMapClip::clip_far_stored

◆ clip_near

int blender::eevee::ShadowTileMapClip::clip_near

Near and far clip distances for directional. Float stored as int for atomic operations. NOTE: These are positive just like camera parameters.

Definition at line 131 of file eevee_shadow_shared.hh.

Referenced by blender::draw::test_eevee_shadow_shift().

◆ clip_near_stored

float blender::eevee::ShadowTileMapClip::clip_near_stored

Clip distances that were used to render the pages.

Definition at line 127 of file eevee_shadow_shared.hh.

Referenced by blender::draw::test_eevee_shadow_finalize(), and blender::draw::test_eevee_shadow_shift().

◆ grid_offset

int2 blender::eevee::ShadowTileMapClip::grid_offset

Definition at line 136 of file eevee_shadow_shared.hh.

◆ object_to_world

Transform blender::eevee::ShadowTileMapClip::object_to_world

Definition at line 134 of file eevee_shadow_shared.hh.


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