Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::shadow_cutout_state Struct Reference

Per-draw state for alpha-cutout shadow batches (texture + clip threshold). More...

#include <batch_key.h>

Public Attributes

std::shared_ptr< gfx::texturecolor_map
 
float alpha_test_value = 1.0f
 
math::color base_color {}
 
math::vec2 tiling {1.0f, 1.0f}
 

Detailed Description

Per-draw state for alpha-cutout shadow batches (texture + clip threshold).

Definition at line 104 of file batch_key.h.

Member Data Documentation

◆ alpha_test_value

float unravel::shadow_cutout_state::alpha_test_value = 1.0f

Definition at line 107 of file batch_key.h.

◆ base_color

math::color unravel::shadow_cutout_state::base_color {}

Definition at line 108 of file batch_key.h.

◆ color_map

std::shared_ptr<gfx::texture> unravel::shadow_cutout_state::color_map

Definition at line 106 of file batch_key.h.

◆ tiling

math::vec2 unravel::shadow_cutout_state::tiling {1.0f, 1.0f}

Definition at line 109 of file batch_key.h.


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