{"id":20553608,"url":"https://github.com/past-due/vulkan-helpers","last_synced_at":"2025-03-06T06:19:31.627Z","repository":{"id":123176312,"uuid":"191776557","full_name":"past-due/vulkan-helpers","owner":"past-due","description":"Small helper classes for Vulkan","archived":false,"fork":false,"pushed_at":"2019-08-13T14:38:49.000Z","size":15,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T17:30:36.267Z","etag":null,"topics":["c-plus-plus","vulkan","vulkan-api","vulkan-library"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/past-due.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2019-06-13T14:16:23.000Z","updated_at":"2019-08-13T14:38:51.000Z","dependencies_parsed_at":"2023-05-26T06:00:38.316Z","dependency_job_id":null,"html_url":"https://github.com/past-due/vulkan-helpers","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/past-due%2Fvulkan-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/past-due%2Fvulkan-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/past-due%2Fvulkan-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/past-due%2Fvulkan-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/past-due","download_url":"https://codeload.github.com/past-due/vulkan-helpers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242157404,"owners_count":20081063,"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","vulkan","vulkan-api","vulkan-library"],"created_at":"2024-11-16T02:42:36.265Z","updated_at":"2025-03-06T06:19:31.617Z","avatar_url":"https://github.com/past-due.png","language":"C++","readme":"# vulkan-helpers\nSmall helper classes for Vulkan C++ apps\n\n- [Requirements](#requirements)\n- [VkhInfo](#vkhinfo)\n- [VkhRenderPassCompat](#vkhrenderpasscompat)\n\n## Requirements\n- C++11 compiler\n- Vulkan SDK / headers, with `vulkan.hpp`\n\n## VkhInfo\n\nOutput information (inspired by the output of `vulkaninfo`) about Vulkan:\n- Instance Extensions\n- Surfaces\n- Physical Devices\n\nto a specified `outputHandler`.\n\nThe `outputHandler` receives a multiline, `\\n`-separated string.\n\n## VkhRenderPassCompat\n\nA rough attempt at implementing the rules for determining [Vulkan Render Pass Compatibility](https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#renderpass-compatibility).\n\n\u003e Framebuffers and graphics pipelines are created based on a specific render pass object. They **must** only be used with that render pass object, or one compatible with it.\n\nConstruct a `VkhRenderpassCompat` by passing in the `vk::RenderPassCreateInfo` used to create\na render pass. `VkhRenderpassCompat` will make a deep copy of the `vk::RenderPassCreateInfo`\ninformation.\n\nA `VkhRenderpassCompat` instance can be compared for compatibility with another via:\n`bool isCompatibleWith(const VkhRenderpassCompat\u0026 other) const;`\n\n### TODOs:\n- Implement proper handling of the `pNext` member of `VkRenderPassCreateInfo`\n   - Currently, if `pNext != nullptr`, `VkhRenderPassCompat::isCompatibleWith` will always evaluate to `false`.\n- Handle `singleSubpassSpecialCase` _(optimization)_\n   \u003e As an additional special case, if two render passes have a single subpass, they are compatible even if they have different resolve attachment references or depth/stencil resolve modes but satisfy the other compatibility conditions.\n\n## License\n\nAll helper classes in this repo are distributed under the MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpast-due%2Fvulkan-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpast-due%2Fvulkan-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpast-due%2Fvulkan-helpers/lists"}