You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Rename RD uniform "type" to "uniform_type"
"type" isn't very descriptive for exposed code, and this variable is exposed via RD_SETGET.
This commit is contained in:
@@ -629,7 +629,7 @@ public:
|
||||
virtual RID texture_buffer_create(uint32_t p_size_elements, DataFormat p_format, const Vector<uint8_t> &p_data = Vector<uint8_t>()) = 0;
|
||||
|
||||
struct Uniform {
|
||||
UniformType type;
|
||||
UniformType uniform_type;
|
||||
int binding; //binding index as specified in shader
|
||||
|
||||
//for single items, provide one ID, for
|
||||
@@ -640,7 +640,7 @@ public:
|
||||
Vector<RID> ids;
|
||||
|
||||
Uniform() {
|
||||
type = UNIFORM_TYPE_IMAGE;
|
||||
uniform_type = UNIFORM_TYPE_IMAGE;
|
||||
binding = 0;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user