|
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
|
What the editor draws textures with. More...
#include <C:/Users/kirby/Documents/Github/deki/deki-editor/deki-editor/include/deki-editor/EditorTexture.h>
Public Attributes | |
| uint32_t(*) | create (int width, int height) = nullptr |
| void(*) | destroy (uint32_t texture) = nullptr |
| ImTextureID(*) | toImGui (uint32_t texture) = nullptr |
| void(*) | update (uint32_t texture, int x, int y, int width, int height, Format format, const void *pixels, int rowPixels) = nullptr |
What the editor draws textures with.
The editor sets it at startup, once it has a window; until then, and in a headless editor, Create returns 0.
| uint32_t(*) DekiEditor::EditorTexture::Backend::create(int width, int height) = nullptr |
| void(*) DekiEditor::EditorTexture::Backend::destroy(uint32_t texture) = nullptr |
| ImTextureID(*) DekiEditor::EditorTexture::Backend::toImGui(uint32_t texture) = nullptr |
| void(*) DekiEditor::EditorTexture::Backend::update(uint32_t texture, int x, int y, int width, int height, Format format, const void *pixels, int rowPixels) = nullptr |