TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Introducing Vulkan-Hpp – Open-Source Vulkan C++ API

130 pointsby gulpahumalmost 9 years ago

9 comments

overcastalmost 9 years ago
Enjoying Vulkan so far in the recently patched Doom, which netted me a minimum 10% increase in frames per second. I really hope this gets adopted / patched into current games, and those on the horizon. Seems like a big win for cross platform development.
评论 #12152071 未加载
Hello71almost 9 years ago
So hold on. Assuming that I understand C++ linking right, you're saying that I should include this 17000-line file in every single cpp unit in my application that uses Vulkan APIs? And people wonder why C++ programs compile so slowly.
评论 #12152041 未加载
评论 #12152753 未加载
gulpahumalmost 9 years ago
The new Vulkan C++ API from Khronos is based on vkcpp. Here&#x27;s examples for vkcpp to give an idea how code with the C++ API looks like:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jherico&#x2F;Vulkan" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jherico&#x2F;Vulkan</a><p>Here&#x27;s a basic tutorial with comments for the Vulkan C API. Vulkan is a <i>very</i> low level API, so there&#x27;s a lot of code. It should be straightforward to port the C tutorial to use the C++ API.<p><a href="http:&#x2F;&#x2F;av.dfki.de&#x2F;~jhenriques&#x2F;development.html" rel="nofollow">http:&#x2F;&#x2F;av.dfki.de&#x2F;~jhenriques&#x2F;development.html</a>
评论 #12152521 未加载
izymalmost 9 years ago
This is what was previously the vkcpp project from Nvidia, which seems to have been transferred to the Khronos group.
kayamonalmost 9 years ago
A lot of their &quot;improvements&quot; could be done just by using C99 designated initializers.
评论 #12152057 未加载
评论 #12151612 未加载
评论 #12150604 未加载
BinaryIdiotalmost 9 years ago
Whoa now that is cool! Are there any games out there that currently use this C++ API of Vulkan? Very curious to know if there are any major issues with using it versus the direct C API.<p>I&#x27;m not very knowledge regarding Vulkan so hopefully that isn&#x27;t a stupid question but I want to brush up on my C++ skills and play with this!<p>Also how similar is Vulkan to SDL? I used to use SDL quite a bit back in the day and it was awesome but I&#x27;m assuming Vulkan is far more comprehensive?
评论 #12152843 未加载
criddellalmost 9 years ago
Are there any scene graph libraries that use Vulkan?
评论 #12151140 未加载
riotdashalmost 9 years ago
As a game developer I&#x27;m pretty excited about this. There is really no reason to use DX12 backend anymore in the future game development, because of the ease of development, performance and multiplatform features of the Vulkan.
评论 #12152315 未加载
评论 #12150685 未加载
评论 #12151022 未加载
lubesGordialmost 9 years ago
Vulkan is an NVIDIA gpu api. <a href="https:&#x2F;&#x2F;www.khronos.org&#x2F;vulkan&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.khronos.org&#x2F;vulkan&#x2F;</a>
评论 #12150761 未加载
评论 #12151036 未加载
评论 #12150669 未加载
评论 #12152059 未加载
评论 #12151135 未加载
评论 #12150789 未加载