4 Commits

Author SHA1 Message Date
tzdwindows 7
6dcd006f0e feat(renderer): implement texture binding with texture unit support
- Added generate_new_uuid function for unique identifier generation
- Included stduuid/uuid.h and declared generate_new_uuid in pch.h
- Added bindTexture overload to accept Texture object and texture unit
- Implemented texture unit validation and OpenGL texture activation
- Added Texture class declaration in RenderSystem header
- Updated project files to include new model and utility headers/sources
- Configured C++20 standard in Vivid2D project settings
- Fixed namespace references in Vivid2D.cpp for Buffer classes
2025-11-15 16:22:14 +08:00
tzdwindows 7
0707a6d5cd Refactor (renderer):优化缓冲区上传和渲染管道
- 删除多余的注释并简化applyRenderState逻辑
- 增强了丢失着色器制服和程序的错误记录
改进了绘制调用中的VAO/VBO绑定和属性管理
在渲染系统中增加了高兴功能的加载支持
- 调整线程断言逻辑以更好地处理初始化
- 在缓冲区绑定期间启用顶点属性数组
- 禁用深度测试并启用2D渲染的混合
- 更新了着色器源代码定义和正确的行结束符
- 导出ShaderProgram类以实现DLL可见性
- 通过删除不必要的注释简化纯色着色器
- 集成GLFW窗口管理和OpenGL上下文设置
- 实现了framebuffer resize回调来调整视口
- 添加了基本的渲染循环矩形镶嵌示例
- 确保在退出时正确清理着色器和渲染资源
2025-11-14 22:27:38 +08:00
tzdwindows 7
a1e68c878b feat(core): 集成RenderSystem并优化构建配置
- 添加VIVID_2D_MYDLL_API宏定义支持动态链接库导出- 引入RenderSystem头文件及系统模块
- 实现RenderSystem静态方法调用逻辑
- 添加渲染指令记录与回放功能演示- 配置项目属性包含路径和外部依赖
- 更新Release模式下的库目录和依赖项设置
- 移除原有注释说明改用功能模块划分方式呈现代码结构
2025-11-14 20:39:01 +08:00
tzdwindows 7
2c36bac794 添加项目文件。 2025-11-14 16:22:42 +08:00