Skip to content

2A5F/Coplt.Graphics

Repository files navigation

Coplt.Graphics

Build

Render Hardware Interface designed for c#

  • Use com style object
  • Utf16 string support
  • Try to avoid string passing
  • Minimize native calls and use memory to transfer data in batches to reduce GC transitions
  • Avoid pointer nesting as much as possible, as it will lead to difficult memory fixation and temporary heap allocation.(Name and criticize vulkan)
  • Support new graphics features as much as possible, but CPU parallelism is not the focus. Heavy command filling should obviously not occur, and GPU scene should be used

Examples

Preview Name Description
Hello Triangle The most basic usage, basic swap chain creation, pipeline creation.
No any resources, including vertex buffers.
Hello Triangle Vertex Demonstrates the use of vertex buffers.

Build

  • Requires .NET 9
  • Requires Ninja
  • Requires Clang 19, does not support msvc, gcc

About

RHI for C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages