13 lines
307 B
ActionScript
13 lines
307 B
ActionScript
class VoxelEditor : Panel {
|
|
FrameBuffer editorBuffer;
|
|
|
|
void onInit() {
|
|
editorBuffer = Resource::createFrameBuffer("VoxelEditor", 620, 620);
|
|
}
|
|
|
|
void onImGui() {
|
|
editorBuffer.clearRGBA(60, 120, 100, 255);
|
|
ImGui::drawFrameBufferCentered(editorBuffer, 620, 620);
|
|
}
|
|
}
|