Loading [MathJax]/jax/output/HTML-CSS/jax.js
1 Star 0 Fork 0

Jikim/vulkan-basic-samples

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Code and Other Conventions for Vulkan Samples

  • The Vulkan version to which the sample is being written must be the prefix in the sample code file name. For example, vk0.10-SAMPLE.cpp.

  • A sample should highlight a specific Vulkan entry point or capability which must be identified in the name of the sample source file. For example, vk0.10-device-info.cpp.

  • Use the data/ (Vulkan-release-independent) and data/VERSION/ (Vulkan-release-dependent) directories for uniquely-named data, shaders, images, etc. used by your sample. VERSION must match the version prefix used in the sample file name. For example, a shader file for VULKANSAMPLES/src/vk0.10imageformat.cppcouldbeVULKAN_SAMPLES/data/vk0.10/imgf-texture-2d.spv.

  • Each sample should include a comment of the following form used for auto- extraction of a short one-line description of the sample:

/*
VULKAN_SAMPLE_SHORT_DESCRIPTION
short description of sample
*/
  • Each sample may include a comment of the following form used for auto- extraction of a more detailed, multi-line description of the sample:
/*
VULKAN_SAMPLE_DESCRIPTION_START
short description of sample
continued here
and here
VULKAN_SAMPLE_DESCRIPTION_END
*/
  • For easier navigation to the relevant section(s) of code in the source file, where applicable, the sections should be identified by the following comment header/footer:
/* VULKAN_KEY_START */
/* VULKAN_KEY_END */
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zikim/vulkan-basic-samples.git
git@gitee.com:zikim/vulkan-basic-samples.git
zikim
vulkan-basic-samples
vulkan-basic-samples
master

搜索帮助