1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-01 16:38:31 +00:00

Fix SHADER_UNIFORM_NAMES

This commit is contained in:
Alexander Hartmann
2025-11-26 15:36:21 +01:00
parent 9dd6c4dbac
commit d97496a99e
2 changed files with 14 additions and 1 deletions

View File

@@ -630,6 +630,7 @@ public:
static const uint32_t MAX_UNIFORM_SETS = 16;
// Keep the enum values in sync with the `SHADER_UNIFORM_NAMES` values (file rendering_device.cpp).
enum UniformType {
UNIFORM_TYPE_SAMPLER, // For sampling only (sampler GLSL type).
UNIFORM_TYPE_SAMPLER_WITH_TEXTURE, // For sampling only, but includes a texture, (samplerXX GLSL type), first a sampler then a texture.