Vulkan-Hpp

(★ 3,778)

Open-Source Vulkan C++ API

파일 탐색기

  • .gitmodules
  • CMakeLists.txt
  • CMakePresets.json
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • glfw
  • glm
  • glslang
  • LICENSE.txt
  • README.md
  • REUSE.toml
  • tinyxml2
  • Vulkan-Headers
  • VulkanHpp.natvis

# 설치 가이드

cmake
사전 준비물

설치 및 실행 절차

git clone https://github.com/KhronosGroup/Vulkan-Hpp.git

Vulkan-Hpp 저장소를 클론합니다.

cmake -B build -S .

CMake를 사용하여 빌드 디렉토리를 생성합니다.

cmake --build build

프로젝트와 샘플 및 테스트를 빌드합니다.

핵심 명령어

cmake -B build -S .

CMake 설정을 수행하고 빌드 파일을 생성합니다.

cmake --build build

생성된 설정으로 프로젝트를 빌드합니다.

vcpkg install vulkan-headers

vcpkg를 통해 vulkan-headers 의존성을 설치합니다.

header-only 라이브러리이므로 직접 헤더 파일을 프로젝트에 포함하거나 CMake를 통해 사용할 수 있습니다.

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

git clone

설명 보기 ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

// repository documentation