Difference between revisions of "Vulkan"
From Free Pascal wiki
Jump to navigationJump to searchm (→Headers) |
m (→Headers) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
SetExceptionMask([exInvalidOp, exDenormalized, exPrecision]); | SetExceptionMask([exInvalidOp, exDenormalized, exPrecision]); | ||
</source> | </source> | ||
+ | [http://www.freepascal.org/docs-html/rtl/math/setexceptionmask.html SetExceptionMask] function is declared in Math unit | ||
+ | |||
==Headers== | ==Headers== | ||
There are no Vulkan headers in fpc packages, but some are available online: | There are no Vulkan headers in fpc packages, but some are available online: | ||
* https://github.com/BeRo1985/pasvulkan | * https://github.com/BeRo1985/pasvulkan | ||
* https://github.com/MaksymTymkovych/Delphi-Vulkan | * https://github.com/MaksymTymkovych/Delphi-Vulkan | ||
+ | ** (Delphi-Vulkan fork) https://github.com/skalogryz/FPC-Vulkan | ||
* http://git.ccs-baumann.de/bitspace/Vulkan/tree/master/projects | * http://git.ccs-baumann.de/bitspace/Vulkan/tree/master/projects | ||
* https://github.com/james-mcjohnson/VulkanLibraryForFreePascal | * https://github.com/james-mcjohnson/VulkanLibraryForFreePascal |
Latest revision as of 03:57, 22 December 2018
Vulkan is a new low-level Graphics API, intended to replace OpenGL.
Float Point Exception
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:
SetExceptionMask([exInvalidOp, exDenormalized, exPrecision]);
SetExceptionMask function is declared in Math unit
Headers
There are no Vulkan headers in fpc packages, but some are available online:
- https://github.com/BeRo1985/pasvulkan
- https://github.com/MaksymTymkovych/Delphi-Vulkan
- (Delphi-Vulkan fork) https://github.com/skalogryz/FPC-Vulkan
- http://git.ccs-baumann.de/bitspace/Vulkan/tree/master/projects
- https://github.com/james-mcjohnson/VulkanLibraryForFreePascal
See Also
- Vulkan on Wikipedia
- https://www.khronos.org/vulkan/ - official site
- OpenGL