Blender V4.5
blender::eevee::ShadowTileMapClip Struct Reference

#include <eevee_shader_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 1415 of file eevee_shader_shared.hh.

Member Data Documentation

◆ _pad0

int blender::eevee::ShadowTileMapClip::_pad0

Definition at line 1427 of file eevee_shader_shared.hh.

◆ _pad1

int blender::eevee::ShadowTileMapClip::_pad1

Definition at line 1428 of file eevee_shader_shared.hh.

◆ clip_far

int blender::eevee::ShadowTileMapClip::clip_far

Definition at line 1422 of file eevee_shader_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 1421 of file eevee_shader_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 1417 of file eevee_shader_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 1426 of file eevee_shader_shared.hh.

◆ object_to_world

Transform blender::eevee::ShadowTileMapClip::object_to_world

Definition at line 1424 of file eevee_shader_shared.hh.


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