You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename shader parameter uniform setter/getter methods for consistency
`shader_uniform` is now consistenly used across both per-shader and per-instance shader uniform methods. This makes methods easier to find in the class reference when looking for them.
This commit is contained in:
@@ -117,8 +117,8 @@ void RenderGeometryInstanceBase::set_use_dynamic_gi(bool p_enable) {
|
||||
_mark_dirty();
|
||||
}
|
||||
|
||||
void RenderGeometryInstanceBase::set_instance_shader_parameters_offset(int32_t p_offset) {
|
||||
shader_parameters_offset = p_offset;
|
||||
void RenderGeometryInstanceBase::set_instance_shader_uniforms_offset(int32_t p_offset) {
|
||||
shader_uniforms_offset = p_offset;
|
||||
|
||||
_mark_dirty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user