Home

Awesome

Tracy-CSharp

C# bindings for https://github.com/wolfpld/tracy with native dynamic link libraries based on imgui-cs.

How to use

Get it from NuGet

dotnet add package Tracy-CSharp --version 0.11.1-hotfix

From source

Installing C2CS

C2CS is distributed as a NuGet tool. To get started, the .NET 7 software development kit (SDK) is required.

Latest release of C2CS

dotnet tool install bottlenoselabs.c2cs.tool --global
  1. Download and install .NET 7.
  2. Fork the repository using GitHub or clone the repository manually with submodules: git clone --recurse-submodules https://github.com/clibequilibrium/Tracy-CSharp.
  3. Build the native library by running library.sh. To execute .sh scripts on Windows, use Git Bash which can be installed with Git itself: https://git-scm.com/download/win. The library.sh script requires that CMake is installed and in your path.
  4. Locate the sample of the C# project: ./src/cs/samples/HelloWorld/HelloWorld.csproj.

Developers: Documentation

For more information on how C# bindings work, see C2CS, the tool that generates the bindings for Tracy and other C libraries.

To learn how to use Tracy, check out the official readme.

License

Tracy-CSharp is licensed under the MIT License (MIT) - see the LICENSE file for details.

Tracy itself is licensed under BSD license (BSD) - see https://github.com/wolfpld/tracy/blob/master/LICENSE for more details.