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