Add InvalidateShadow for manual shadow cache refresh
This commit is contained in:
@@ -84,6 +84,11 @@ LightWithShadow::LightWithShadow(const SpawnParams& params)
|
||||
{
|
||||
}
|
||||
|
||||
void LightWithShadow::InvalidateShadow()
|
||||
{
|
||||
_invalidateShadowFrame++;
|
||||
}
|
||||
|
||||
void LightWithShadow::Serialize(SerializeStream& stream, const void* otherObj)
|
||||
{
|
||||
// Base
|
||||
|
||||
Reference in New Issue
Block a user