Vulkan標頭生成器和Vulkan OOP式API包裝器適用於Pascal(Freepascal> = 3.3.3
vulkan.pas綁定的標頭單元本身(包括vkxml2pas.dpr轉換器)和保持與舊的delphi 7版本兼容,但是pasvulkan。編譯器版本不支持。
在Patreon支持我
如果您對Git Clone命令有問題,因為存儲庫對您來說太大,或者您不需要存儲庫的完整歷史記錄,因此您可以嘗試使用以下命令:
git clone --single-branch --depth 1 --recursive https://github.com/BeRo1985/pasvulkan.git pasvulkan或分別用於SSH變體:
git clone --single-branch --depth 1 --recursive [email protected]:BeRo1985/pasvulkan.git pasvulkan或者,您可以嘗試關閉壓縮,這在某些情況下也可以幫助您,但要知道,它是系統上所有GIT存儲庫的全局設置:
git config --global core.compression 0您必須首先使用CompileProjectManager(*nix)或CompileProjectManager.bat(Windows)編譯(但不完整的)Pasvulkan項目管理器(Windows),以便您可以將Pasvulkan Project Manager用作命令行工具名為ProjectManager(.exe)。
而且,您確實需要最新的Delphi版本或Freepascal編譯器的最新SVN TRUNK版本(不僅是Freepascal編譯器的穩定版本),包括這些編譯器二進製文件中路徑環境變量中的正確路徑。而且,如果您還想使用Android目標,則同樣適用於Android Studio,Java SDK,Android SDK和Android NDK,必須將其安裝在默認位置(如Google處方或指定這些默認位置,毫無例外),並且必須正確地存在於系統環境中。
對於Android目標,您確實需要所有來自Android官方支持的CPU目標的Freepascal Cross編譯器安裝,而無需任何例外:X86_32/I386,X86_64/AMD64,ARM32和ARM32和AARCH64/ARARCH64/ARRARCH64/ARM64/644
編譯ProjectManager二進製文件後,您需要執行以下操作:
| 步 | 視窗 | *尼克斯 | 描述 |
|---|---|---|---|
| 1。 | projectmanager compileassets examples | ./projectmanager compileassets examples | 它編譯資產文件 |
| 2。 | projectmanager build examples | ./projectmanager build examples | 它編譯示例代碼本身 |
| 3。 | projectmanager run examples | ./projectmanager run examples | 它開始示例二進制 |
編譯ProjectManager二進製文件後,您需要執行以下操作:
| 步 | 視窗 | *尼克斯 | 描述 |
|---|---|---|---|
| 1。 | projectmanager create [yourprojectname] | ./projectmanager create [yourprojectname] | 它創建了新項目 |
重要的是:項目名稱必須是有效的小寫pascal和Java標識符,甚至同時是有效的文件名!
編譯了ProjectManager二進製文件後,只需在外殼或控制台中執行projectmanager -h即可獲得詳細的幫助輸出。
Copyright (C) 2016-2017, Benjamin Rosseaux ([email protected])
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgement in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
有關最新的展示視頻,請參見YouTube播放列表
pasvulkan在Android 7.0上的Nvidia Shield K1平板電腦上
Windows 10 Pro下的Nvidia Geforce GTX 970上的Pasvulkan