You've already forked godot
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user