You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Begining of GLES3 renderer:
-Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
This commit is contained in:
@@ -246,6 +246,15 @@ Node* CanvasLayer::get_custom_viewport() const {
|
||||
return custom_viewport;
|
||||
}
|
||||
|
||||
void CanvasLayer::reset_sort_index() {
|
||||
sort_index=0;
|
||||
}
|
||||
|
||||
int CanvasLayer::get_sort_index() {
|
||||
|
||||
return sort_index++;
|
||||
}
|
||||
|
||||
|
||||
void CanvasLayer::_bind_methods() {
|
||||
|
||||
@@ -296,4 +305,5 @@ CanvasLayer::CanvasLayer() {
|
||||
canvas = Ref<World2D>( memnew(World2D) );
|
||||
custom_viewport=NULL;
|
||||
custom_viewport_id=0;
|
||||
sort_index=0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user