Skip to content

Commit 9a0008f

Browse files
author
StArray
committed
refactor: reflection and native interop layers for improved compatibility and stability
1 parent 3858928 commit 9a0008f

13 files changed

Lines changed: 1867 additions & 1867 deletions

File tree

‎.backup/D3D11Renderer.cs.backup‎

Lines changed: 280 additions & 280 deletions
Large diffs are not rendered by default.

‎StArray.ModManager.TestDxApp/D3D11Backend.cs‎

Lines changed: 282 additions & 282 deletions
Large diffs are not rendered by default.
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
using Silk.NET.Windowing;
2-
3-
namespace StArray.ModManager.TestDxApp;
4-
5-
/// <summary>
6-
/// 三角形渲染后端接口
7-
/// </summary>
8-
internal interface ITriangleBackend : IDisposable
9-
{
10-
/// <summary>在 OnLoad 中初始化所有 GPU 资源</summary>
11-
void Load(IWindow window);
12-
13-
/// <summary>每帧渲染三角形</summary>
14-
void Render(double deltaSeconds);
15-
16-
/// <summary>窗口尺寸变化</summary>
17-
void Resize(Vector2D<int> newSize);
18-
}
1+
using Silk.NET.Windowing;
2+
3+
namespace StArray.ModManager.TestDxApp;
4+
5+
/// <summary>
6+
/// 三角形渲染后端接口
7+
/// </summary>
8+
internal interface ITriangleBackend : IDisposable
9+
{
10+
/// <summary>在 OnLoad 中初始化所有 GPU 资源</summary>
11+
void Load(IWindow window);
12+
13+
/// <summary>每帧渲染三角形</summary>
14+
void Render(double deltaSeconds);
15+
16+
/// <summary>窗口尺寸变化</summary>
17+
void Resize(Vector2D<int> newSize);
18+
}

0 commit comments

Comments
 (0)