docs: fix README.md project structure to match actual codebase

Engine modules:
- Audio: remove AudioSource/Listener components (they belong in Components/), add IAudioEffect.h
- Components: add AudioSourceComponent.h and AudioListenerComponent.h
- Math: remove non-existent OBB.h
- Resources: fix DependencyGraph.h -> ResourceDependencyGraph.h
- Threading: add TaskSystemConfig.h
- RHI: remove incorrect RHIDescriptor.h (already covered by RHIDescriptorPool.h)

Backend fixes:
- OpenGL: add OpenGLScreenshot.h
- D3D12: fix file order (D3D12Enum.h before D3D12Types.h)
This commit is contained in:
2026-03-22 14:18:48 +08:00
parent 7028027adc
commit 1f129ed20f
33 changed files with 10 additions and 110 deletions

View File

@@ -0,0 +1,27 @@
# TextureImportSettings::SetGenerateMipmaps / GetGenerateMipmaps
```cpp
void SetGenerateMipmaps(bool generate);
bool GetGenerateMipmaps() const;
```
设置或获取是否生成 Mipmap。
**参数:**
- `generate` - 是否生成 Mipmap
**返回:** `bool` / `void`
**线程安全:**
**示例:**
```cpp
TextureImportSettings settings;
settings.SetGenerateMipmaps(true);
bool generate = settings.GetGenerateMipmaps(); // true
```
## 相关文档
- [TextureImportSettings 总览](textureimportsettings.md) - 返回类总览