1. 完全解耦了Live2D的LApp部分,使其可以接入任何GUI库

2. 初步尝试合并嵌入式Linux平台支持的相关代码,预计在下一次提交完整支持。
This commit is contained in:
Misaki
2026-06-24 01:05:26 +08:00
parent 5141e524dd
commit f7be85fbf6
24 changed files with 1590 additions and 421 deletions
+17
View File
@@ -0,0 +1,17 @@
//
// Created by misaki on 2026/6/23.
//
#pragma once
#include <cstdint>
class IRenderContext {
public:
virtual ~IRenderContext() = default;
virtual void Clear(float r, float g, float b, float a) = 0;
virtual void ClearDepth(float depth) = 0;
virtual void SetViewport(int x, int y, int w, int h) = 0;
virtual uintptr_t CreateShaderProgram() = 0;
virtual uintptr_t GetShaderProgram() const = 0;
virtual void InitializeGLState() = 0;
};