Vulkan-Docs

The Vulkan API Specification and related tools

Github星跟踪图

ifdef::env-github[]
:note-caption: :information_source:
endif::[]

= Vulkan^(R)^ API Documentation Project

This repository contains sources for the formal documentation of the Vulkan
API. This includes:

[options="compact"]

The authoritative public repository is located at
https://github.com/KhronosGroup/Vulkan-Docs/.
It hosts a public Issue tracker, and outside developers can file proposed
patches (Pull Requests) against the Specification, subject to approval
by Khronos.

If in doubt where to submit your Issue, consult the
https://github.com/KhronosGroup/Vulkan-Ecosystem repo.

== Branch Structure

Everything is now maintained in the master branch of the repository.
From this branch it is possible to generate both Vulkan 1.1 and Vulkan 1.0
Specifications, as well as specifications for any set of Extensions.

With the release of Vulkan 1.2, the current Specification continues to be
maintained in the master branch.
The last public spec update (Vulkan 1.1.130) can be found via the v1.1.130
git tag.
The last state of the master branch before 1.2 content was merged into it
can be found via the 1.1-archive tag in Khronos' internal gitlab.

== Directory Structure

The directory structure is as follows:

README.adoc           This file
BUILD.adoc            Documents how to build the specifications, and man pages
COPYING.md            Copyright and licensing information
CODE_OF_CONDUCT.md    Code of Conduct
ChangeLog.txt         Change log summary for each public spec update
Makefile, make*       Makefile and helper build scripts (see BUILD.adoc)
appendices/           Specification appendices
chapters/             Specification chapters
config/               Asciidoctor configuration, CSS, and index generator
images/               Images (figures, diagrams, icons)
man/                  Reference (man) pages for the API; mostly extracted from the spec source
out/                  Default directory for the generated documents
scripts/              Helper scripts used in specification, header, and reference page generation
style/                Sources for "styleguide" (Vulkan Documentation and Extensions: Procedures and Conventions)
xml/                  XML API Registry (vk.xml)
registry.txt          Sources for documentation of the vk.xml format

== Building the Specification and Reference Pages

The document sources are marked up in Asciidoctor format, and we use
asciidoctor and related toolchain components to generate output documents.
See link:BUILD.adoc[BUILD.adoc] for more information on installing the
toolchain and building the Specification.

== Generating Headers and Related Files

See link:xml/README.adoc[xml/README.adoc].

The header files (include/vulkan/vulkan*.h) and many parts of the
specification and reference page documents are generated from descriptions
in the XML API Registry (xml/vk.xml).
The generated files are not checked into the repository.
If you change vk.xml, you can regenerate the headers by going into
xml/ and running:

$ make clean install

The other generated files are built as required via dependencies in
the top-level Makefile.

主要指标

概览
名称与所有者KhronosGroup/Vulkan-Docs
主编程语言JavaScript
编程语言Makefile (语言数: 10)
平台
许可证Other
所有者活动
创建于2016-02-11 18:03:55
推送于2025-10-31 07:35:19
最后一次提交2020-08-30 12:36:36
发布数351
最新版本名称v1.4.331 (发布于 2025-10-31 07:29:06)
第一版名称v1.0-core+wsi-20160216 (发布于 2016-02-16 18:21:38)
用户参与
星数3.1k
关注者数216
派生数502
提交数1.1k
已启用问题?
问题数1848
打开的问题数341
拉请求数500
打开的拉请求数15
关闭的拉请求数203
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?