| 425 | }; |
| 426 | |
| 427 | void ShadowsAtlasRectTile::OnInsert(ShadowsCustomBuffer* buffer, bool isStatic) |
| 428 | { |
| 429 | IsStatic = isStatic; |
| 430 | const int32 pixels = (int32)Width * (int32)Height; |
| 431 | if (isStatic) |
| 432 | buffer->StaticAtlasPixelsUsed += pixels; |
| 433 | else |
| 434 | buffer->AtlasPixelsUsed += pixels; |
| 435 | } |
| 436 | |
| 437 | void ShadowsAtlasRectTile::OnFree(ShadowsCustomBuffer* buffer) |
| 438 | { |