Refactor and enhance graphics and audio systems

Updated target frameworks to .NET 10.0 across multiple projects for compatibility with the latest features. Refactored namespaces and introduced new classes for shader descriptors, FMOD integration, and DirectX 12 utilities using TerraFX. Replaced `Win32` bindings with TerraFX equivalents for DirectX 12. Added a C# wrapper for FMOD Studio API, including DSP and error handling. Enhanced entity queries, component storage, and query filters for better performance and type safety. Introduced new test projects and updated the solution structure. Added `meshoptimizer` bindings and integrated `meshoptimizer_native.dll`. Improved code readability, maintainability, and performance.
This commit is contained in:
2025-10-09 05:16:28 +09:00
parent 01a850ff94
commit 682200cbf1
126 changed files with 25587 additions and 3247 deletions

View File

@@ -14,9 +14,9 @@ namespace Ghost.Graphics.RenderPasses;
/// </summary>
internal unsafe class MeshRenderPass : IRenderPass
{
private Identifier<Mesh> _mesh;
private Handle<Mesh> _mesh;
private Handle<Material> _material;
private Identifier<Shader> _shader;
private Identifier<Material> _material;
private Handle<Texture>[]? _textures;
// Texture file paths for this demo
@@ -52,7 +52,6 @@ internal unsafe class MeshRenderPass : IRenderPass
Width = imageData.Width,
Height = imageData.Height,
Dimension = TextureDimension.Texture2D,
CreationFlags = TextureCreationFlags.Bindless,
Format = TextureFormat.R8G8B8A8_UNorm,
MipLevels = 1,
Slice = 1,