{"id":19817175,"url":"https://github.com/nvpro-samples/nvpro_core","last_synced_at":"2025-04-04T16:15:58.414Z","repository":{"id":22016844,"uuid":"25342689","full_name":"nvpro-samples/nvpro_core","owner":"nvpro-samples","description":"shared source code and resources needed for the samples to run","archived":false,"fork":false,"pushed_at":"2024-03-25T15:53:27.000Z","size":11660,"stargazers_count":417,"open_issues_count":4,"forks_count":105,"subscribers_count":34,"default_branch":"master","last_synced_at":"2024-03-25T18:04:26.898Z","etag":null,"topics":["c-plus-plus","opengl","vulkan"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nvpro-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2014-10-17T06:40:30.000Z","updated_at":"2024-04-23T11:42:48.916Z","dependencies_parsed_at":"2024-04-23T11:52:58.129Z","dependency_job_id":null,"html_url":"https://github.com/nvpro-samples/nvpro_core","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvpro-samples%2Fnvpro_core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvpro-samples%2Fnvpro_core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvpro-samples%2Fnvpro_core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvpro-samples%2Fnvpro_core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nvpro-samples","download_url":"https://codeload.github.com/nvpro-samples/nvpro_core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208178,"owners_count":20901570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-plus-plus","opengl","vulkan"],"created_at":"2024-11-12T10:11:55.478Z","updated_at":"2025-04-04T16:15:58.391Z","avatar_url":"https://github.com/nvpro-samples.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nvpro_core\n\n## Repository\nThis folder is a repository of *shared source code* : most other samples use it as library or directly reference code from it.\n\nIt means that you must clone this repository (with submodules) prior to trying those samples that refer to this repository as a dependency.\n\n## Folders\n* **cmake**: 'find' files to search for cmake packages\n* **doxygen**: folder for doxygen doc generation\n* **fileformats**: various helpers to load some files\n* **nvh**: API agnostic helpers to simplify the code of samples.\n* **nvgl**: helpers for OpenGL\n* **nvvk**: helpers for Vulkan (to aid extension use and simplify initialization of Vulkan structs, some files were generated from scripting)\n* **nvvkhl**: helpers for Vulkan High-Level for creating samples; applications, loading scenes, HDR-environment, G-Buffers, etc.\n* **nvvkhl/shaders**: commonly use functions for shading, tonemaper, etc.\n* **nvoptix**: helpers for Optix\n* **nvdx12**: helpers for DirectX 12\n* **nvmath**: math library used by most samples\n* **imgui**: a version of [imgui](https://github.com/ocornut/imgui) and some implementations to render it (derived from its examples).\n* **GL/KHR**: include files for OpenGL (we use a subset of extensions that is generated and defined by `nvgl/extensions_gl.lua`)\n* resources: icons etc.\n\n## Files\n* **nvpsystem\\[_linux|win32\\].hpp/cpp**: defines the base class NVPSystem\n* **nvpwindow.hpp/cpp**: defines the main class NVPWindow\n* **docgen.py**: python script that generates README.md files from comments gathered in various headers\n* **CMakeLists.txt**: project definition for the nvpro_core library\n* **resources...**: win32 resources\n* **include_gl.h**: shortcut for including the file that contains the GL extension definitions\n* **platform.h / NvFoundation.h**: platform specific `NV_...` macros that aid cross platform coding\n\n## Dependencies\nSome samples may rely on few additional libraries in order to compile (mostly for win32). You can find them in [third_party/binaries](https://github.com/nvpro-samples/third_party_binaries). The use of Vulkan or DirectX APIs requires that the appropriate SDKs are installed.\n\nThe minimum Vulkan SDK version is currently: 1.3.261.0\n\n## License\nnvpro_core is licensed under the [Apache License 2.0](LICENSE).\n\n## Third-Party Libraries\nThis project embeds or includes (as submodules) several open-source libraries\nand/or code derived from them. All such libraries' licenses are included in the\n[PACKAGE-LICENSES](PACKAGE-LICENSES) folder.\n\nThe include file mechanism inside `nvh/shaderfilemanager.cpp` is derived from\nthe [OpenGL Samples Pack](https://github.com/g-truc/ogl-samples). Only the hash\ncombine logic was derived from Boost (https://www.boost.org/doc/libs/1_35_0/doc/html/boost/hash_combine_id241013.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvpro-samples%2Fnvpro_core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnvpro-samples%2Fnvpro_core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvpro-samples%2Fnvpro_core/lists"}