Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- enumerateInstanceVersion :: forall io. MonadIO io => io ("apiVersion" ::: Word32)
Documentation
enumerateInstanceVersion :: forall io. MonadIO io => io ("apiVersion" ::: Word32) Source #
vkEnumerateInstanceVersion - Query instance-level version before instance creation
Parameters
pApiVersion
is a pointer to auint32_t
, which is the version of Vulkan supported by instance-level functionality, encoded as described in https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#extendingvulkan-coreversions-versionnumbers.
Description
Note
The intended behaviour of enumerateInstanceVersion
is that an
implementation should not need to perform memory allocations and
should unconditionally return
SUCCESS
. The loader, and any
enabled layers, may return
ERROR_OUT_OF_HOST_MEMORY
in the
case of a failed memory allocation.
Return Codes
See Also
No cross-references are available