{"repo":"davidAlgis/InteropUnityCUDA","free":true,"listed":false,"github":"https://github.com/davidAlgis/InteropUnityCUDA","clone":"git clone https://github.com/davidAlgis/InteropUnityCUDA.git","description":"Demonstrate interoperability between Unity Engine and CUDA","language":"C++","stars":52,"topics":["cpp","cuda","gpu","gpu-acceleration","native-plugin","opengl","unity","dx11","unity3d"],"license":"MIT","category":"game-templates","readme_excerpt":"Interoperability Between Unity Engine and CUDA This repository demonstrates and gives tools for interoperability between the Unity Engine and CUDA. Specifically, it showcases how to create and render graphical objects (e.g., textures) in Unity and edit them directly through CUDA kernels. This approach bypasses compute shaders, leveraging the full capabilities of CUDA. For more details about this project you can read our article InteropUnityCUDA: A Tool for Interoperability Between Unity and CUDA . Plugins The Plugin folder contains the C++ libraries used for interoperability. These libraries can be regenerated using CMake. Assuming you are at the root of the interopUnityCUDA repository, execute the following commands: To compile the libraries: To use the library in your Unity project, copy the contents of the Debug and Release folders to your Unity project. The C++ project consists of three libraries: 1. Utilities This library includes a singleton logger to simplify debugging between Unity and the native plugin. It also contains Unity's native plugin API, which is used by the other libraries. 2. PluginInteropUnityCUDA This library provides the classes that handle interoperability between Unity, the graphics API, and CUDA. Additionally, it includes functions to register and invoke new Action objects. An Action is a base class from which you can inherit to override specific functions. These functions are executed on the render thread, which is a necessary condition for making i","default_branch":null,"files":null,"tree":[],"storefront":"/r/davidAlgis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/davidAlgis/InteropUnityCUDA/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}