2025-07-06 20:43:53 +03:00
|
|
|
#include "DrawData.hpp"
|
2025-12-15 15:36:42 +03:00
|
|
|
#include "CanvasComponents/CanvasComponentContainer.hpp"
|
2025-07-20 15:24:44 +03:00
|
|
|
|
|
|
|
|
void DrawData::refresh_draw_optimizing_values() {
|
|
|
|
|
clampDrawBetween = true;
|
2025-12-15 15:36:42 +03:00
|
|
|
clampDrawMinimum = cam.c.inverseScale >> CanvasComponentContainer::COMP_MIN_SHIFT_BEFORE_DISAPPEAR;
|
|
|
|
|
mipMapLevelOne = cam.c.inverseScale >> CanvasComponentContainer::COMP_MIPMAP_LEVEL_ONE;
|
|
|
|
|
mipMapLevelTwo = cam.c.inverseScale >> CanvasComponentContainer::COMP_MIPMAP_LEVEL_TWO;
|
2025-07-20 15:24:44 +03:00
|
|
|
}
|