diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2024-10-18 14:28:57 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2024-10-18 14:51:51 +0200 |
commit | 35a20fa96a12fe286058b229dd8594ed97d0330b (patch) | |
tree | 1c0b4ea6a54ceb9f03680739468af3218a44d57a /modules/mono/utils/path_utils.cpp | |
parent | 04692d83cb8f61002f18ea1d954df8c558ee84f7 (diff) | |
download | redot-engine-35a20fa96a12fe286058b229dd8594ed97d0330b.tar.gz |
Use a shared copy of placeholder textures, tweak placeholder appearance
This reduces memory usage a bit in case multiple placeholders were
requested, e.g. when using multiple NoiseTextures with no noise property
defined.
The placeholder texture's appearance was also changed from a plain magenta
color to a checkerboard alternating between magenta and black pixels.
This makes it easier to spot when the placeholder texture ends up
being used in a complex scene (usually by accident).
The texture's dimensions remain identical to keep the physical size
identical in 2D.
Diffstat (limited to 'modules/mono/utils/path_utils.cpp')
0 files changed, 0 insertions, 0 deletions