From Lazarus wiki
Revision as of 03:57, 22 December 2018 by Skalogryz (talk | contribs) (→‎Headers)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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


There are no Vulkan headers in fpc packages, but some are available online:

See Also