Skip to content

clibequilibrium/optick-CSharp

Repository files navigation

optick-CSharp

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

How to use

From source

  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/optick-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/production/optick/OptickSample.csproj.

Developers: Documentation

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

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

License

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

optick itself is licensed under the MIT License (MIT) - see https://github.com/bombomby/optick/blob/master/LICENSE for more details.