TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

130 点作者 gulpahum将近 9 年前

9 条评论

overcast将近 9 年前
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 未加载
Hello71将近 9 年前
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 未加载
gulpahum将近 9 年前
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 未加载
izym将近 9 年前
This is what was previously the vkcpp project from Nvidia, which seems to have been transferred to the Khronos group.
kayamon将近 9 年前
A lot of their &quot;improvements&quot; could be done just by using C99 designated initializers.
评论 #12152057 未加载
评论 #12151612 未加载
评论 #12150604 未加载
BinaryIdiot将近 9 年前
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 未加载
criddell将近 9 年前
Are there any scene graph libraries that use Vulkan?
评论 #12151140 未加载
riotdash将近 9 年前
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 未加载
lubesGordi将近 9 年前
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 未加载