f5a34f8adc
docs: 重构 API 文档 - components 和 scene 模块
...
- components: 修复英文标题为中文,添加缺失组件文档
- 新增 camera-component, light-component, audio-source-component, audio-listener-component 类总览
- 修复 get-position.md 格式
- 更新 components.md 模块总览
- scene: 修复方法文档格式,新增缺失方法
- 修复 find.md, create-game-object.md 英文标题
- 新增 FindByID, SerializeToString, DeserializeFromString 方法文档
- 更新 scene.md 类总览方法列表
2026-03-26 01:50:27 +08:00
6af872e9eb
docs: fix Resources module API docs naming conventions and broken links
...
- Rename constructor/destructor files to follow template spec:
- ctor.md → constructor.md, dtor.md → destructor.md (audioclip)
- texture_constructor.md → constructor.md, texture_destructor.md → destructor.md (texture)
- material-loader-constructor.md → constructor.md, material-loader-destructor.md → destructor.md
- Create missing constructor/destructor docs:
- audio-loader: constructor.md, destructor.md
- texture-loader: constructor.md, destructor.md
- Fix broken links to ResourceManager:
- shader-loader/index.md
- material-loader/index.md
- Remove duplicate folders (keep hyphenated versions):
- Delete shaderloader/ (keep shader-loader/)
- Delete resourcepackage/ (keep resource-package/)
- Merge textureimportsettings/ into texture-import-settings/
- Rename audio-loader method files:
- canload.md → can-load.md
- getdefaultsettings.md → get-default-settings.md
- getsupportedextensions.md → get-supported-extensions.md
- Update overview pages with proper method links and constructor/destructor entries
2026-03-22 14:42:27 +08:00
1797e7fe17
fix: encapsulate OpenGL types in VertexAttribute to eliminate raw GL API usage in tests
...
- Add VertexAttributeType and VertexAttributeNormalized enums in OpenGLVertexArray.h
- Add ToGLAttributeType() converter in OpenGLVertexArray.cpp
- Remove glActiveTexture() call from quad test (already handled by texture.Bind())
- Remove #include <glad/glad.h> from triangle test
- Update unit tests to use encapsulated enums
All three OpenGL integration tests (minimal, triangle, quad) pass with 0% pixel difference.
2026-03-22 14:33:57 +08:00
ea756c0177
docs: update resources API docs
2026-03-20 02:35:35 +08:00