Extract and reorganize texture resource classes
This commit is contained in:
parent
0f7625ab46
commit
7e21eb7e00
106 changed files with 5018 additions and 4257 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include "editor/editor_scale.h"
|
||||
#include "scene/gui/label.h"
|
||||
#include "scene/gui/texture_rect.h"
|
||||
#include "scene/resources/image_texture.h"
|
||||
|
||||
void BitMapEditor::setup(const Ref<BitMap> &p_bitmap) {
|
||||
texture_rect->set_texture(ImageTexture::create_from_image(p_bitmap->convert_to_image()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue