mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Texture refactor
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
This commit is contained in:
parent
9ffe57a10e
commit
3f335ce3d4
287 changed files with 2829 additions and 2540 deletions
|
|
@ -548,13 +548,13 @@ String ScriptTextEditor::get_name() {
|
|||
return name;
|
||||
}
|
||||
|
||||
Ref<Texture> ScriptTextEditor::get_icon() {
|
||||
Ref<Texture2D> ScriptTextEditor::get_icon() {
|
||||
|
||||
if (get_parent_control() && get_parent_control()->has_icon(script->get_class(), "EditorIcons")) {
|
||||
return get_parent_control()->get_icon(script->get_class(), "EditorIcons");
|
||||
}
|
||||
|
||||
return Ref<Texture>();
|
||||
return Ref<Texture2D>();
|
||||
}
|
||||
|
||||
void ScriptTextEditor::_validate_script() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue