修改OpenGl渲染底层之前

This commit is contained in:
2025-10-20 20:50:12 +08:00
parent 1b011b9b68
commit 2b888aae5b
61 changed files with 1609 additions and 680 deletions

View File

@@ -9,12 +9,17 @@ class RenderBase : public Component
public:
struct RenderGuidanceInfo
{
SDL_Rect rect;
SDL_FRect rect;
// 旋转角度
float rotation;
// 翻转Flag
SDL_RendererFlip flip = SDL_FLIP_NONE;
VecPos AnchorPos;
// 锚点坐标
VecFPos AnchorPos;
// 是否显示
bool Visible = true;
bool IsInScreen;
// 是否在屏幕内
bool IsInScreen = false;
};
public: