Vulkan

(★ 12,119)

Vulkan 그래픽스 API를 위한 C++ 예제

파일 탐색기

파일 수가 많아 일부만 표시됩니다. 전체 파일은 위 다운로드 버튼으로 확인해 주세요.

  • .gitattributes
  • .gitignore
  • .gitmodules
  • assets
  • BUILD.md
  • CMakeLists.txt
  • CREDITS.md
  • LICENSE.md
  • README.md

# 설치 가이드

cmake
사전 준비물

설치 및 실행 절차

git clone --recursive https://github.com/SaschaWillems/Vulkan.git

저장소 복제 및 서브모듈 초기화

cmake -B build -S .

CMake를 사용한 빌드 파일 생성

cmake --build build

프로젝트 컴파일 및 빌드 수행

핵심 명령어

cmake -B build -S .

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

cmake --build build

생성된 빌드 파일을 기반으로 프로젝트를 컴파일합니다.

일부 예제는 특정 GPU 기능이나 드로어블 지원을 요구할 수 있습니다.

# 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:

🔍

git submodule

설명 보기 ▼

Inspect, update, and manage submodules.

git submodule

View existing submodules and the checked-out commit for each one:

git submodule update --init --recursive

Install a repository's submodules (listed in `.gitmodules`):

git submodule add {{repository_url}}

Add a Git repository as a submodule of the current one:

// repository documentation