mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Fix SHADER_UNIFORM_NAMES
This commit is contained in:
parent
9dd6c4dbac
commit
d97496a99e
2 changed files with 14 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue