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:
parent
80193260ff
commit
db22b7ded0
47 changed files with 211 additions and 211 deletions
|
|
@ -57,8 +57,8 @@ void Texture3DEditor::_texture_changed() {
|
|||
}
|
||||
|
||||
void Texture3DEditor::_update_material() {
|
||||
material->set_shader_param("layer", (layer->get_value() + 0.5) / texture->get_depth());
|
||||
material->set_shader_param("tex", texture->get_rid());
|
||||
material->set_shader_uniform("layer", (layer->get_value() + 0.5) / texture->get_depth());
|
||||
material->set_shader_uniform("tex", texture->get_rid());
|
||||
|
||||
String format = Image::get_format_name(texture->get_format());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue