summaryrefslogtreecommitdiffstats
path: root/modules/mono/utils/path_utils.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2024-10-18 14:28:57 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2024-10-18 14:51:51 +0200
commit35a20fa96a12fe286058b229dd8594ed97d0330b (patch)
tree1c0b4ea6a54ceb9f03680739468af3218a44d57a /modules/mono/utils/path_utils.cpp
parent04692d83cb8f61002f18ea1d954df8c558ee84f7 (diff)
downloadredot-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