Sign in Join
Wiki copytemporary

Vulkan: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Vulkan

OldNewLine
1+Vulkan is a new low-level Graphics API, intended to replace OpenGL.
2+
3+## Float Point Exception
4+
5+Similar to OpenGL apps, the float-point exceptions should be turned off. This can be achieved by adding the following code prior to calling Vulkan API:
6+
7+```delphi
8+SetExceptionMask([exInvalidOp, exDenormalized, exPrecision]);
9+```
10+
11+[SetExceptionMask](http://www.freepascal.org/docs-html/rtl/math/setexceptionmask.html) function is declared in Math unit
12+
13+## Headers
14+
15+There are no Vulkan headers in fpc packages, but some are available online:
16+
17+- <https://github.com/BeRo1985/pasvulkan>
18+- <https://github.com/MaksymTymkovych/Delphi-Vulkan>
19+ - (Delphi-Vulkan fork) <https://github.com/skalogryz/FPC-Vulkan>
20+- <http://git.ccs-baumann.de/bitspace/Vulkan/tree/master/projects>
21+- <https://github.com/james-mcjohnson/VulkanLibraryForFreePascal>
22+
23+## See Also
24+
25+- [Vulkan on Wikipedia](https://en.wikipedia.org/wiki/Vulkan_(API))
26+- <https://www.khronos.org/vulkan/> - official site
27+- [[OpenGL]]
28+
29+---
30+*From the Free Pascal wiki, page "Vulkan", as it stood on 2018-12-22 after a change by Skalogryz, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
31+Category: Graphics
32+Category: Vulkan

Back to history