|
|
|
@ -156,16 +156,18 @@ class MAGNUM_VK_EXPORT InstanceCreateInfo { |
|
|
|
* Use the @ref version() helper to create the @p version value. The |
|
|
|
* Use the @ref version() helper to create the @p version value. The |
|
|
|
* name is @cpp nullptr @ce by default. |
|
|
|
* name is @cpp nullptr @ce by default. |
|
|
|
* |
|
|
|
* |
|
|
|
* The function makes copies of string views that are not global or |
|
|
|
|
|
|
|
* null-terminated, use the @link Containers::Literals::operator""_s() @endlink |
|
|
|
|
|
|
|
* literal to prevent that where possible. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* The following @type_vk{InstanceCreateInfo} fields are set by this |
|
|
|
* The following @type_vk{InstanceCreateInfo} fields are set by this |
|
|
|
* function: |
|
|
|
* function: |
|
|
|
* |
|
|
|
* |
|
|
|
* - `pApplicationInfo` |
|
|
|
* - `pApplicationInfo` |
|
|
|
* - @cpp pApplicationInfo->pApplicationName @ce to @p name |
|
|
|
* - @cpp pApplicationInfo->pApplicationName @ce to @p name (a copy |
|
|
|
|
|
|
|
* of it, if needed) |
|
|
|
* - @cpp pApplicationInfo->applicationVersion @ce to @p version |
|
|
|
* - @cpp pApplicationInfo->applicationVersion @ce to @p version |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @note The function makes copies of string views that are not global |
|
|
|
|
|
|
|
* or null-terminated, use the |
|
|
|
|
|
|
|
* @link Containers::Literals::operator""_s() @endlink literal to |
|
|
|
|
|
|
|
* prevent that where possible. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
InstanceCreateInfo& setApplicationInfo(Containers::StringView name, Version version); |
|
|
|
InstanceCreateInfo& setApplicationInfo(Containers::StringView name, Version version); |
|
|
|
|
|
|
|
|
|
|
|
@ -179,10 +181,6 @@ class MAGNUM_VK_EXPORT InstanceCreateInfo { |
|
|
|
* @ref Vk-Instance-command-line "command-line options", it's not |
|
|
|
* @ref Vk-Instance-command-line "command-line options", it's not |
|
|
|
* added. |
|
|
|
* added. |
|
|
|
* |
|
|
|
* |
|
|
|
* The function makes copies of string views that are not global or |
|
|
|
|
|
|
|
* null-terminated, use the @link Containers::Literals::operator""_s() @endlink |
|
|
|
|
|
|
|
* literal to prevent that where possible. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* The following @type_vk{InstanceCreateInfo} fields are set by this |
|
|
|
* The following @type_vk{InstanceCreateInfo} fields are set by this |
|
|
|
* function: |
|
|
|
* function: |
|
|
|
* |
|
|
|
* |
|
|
|
@ -190,7 +188,12 @@ class MAGNUM_VK_EXPORT InstanceCreateInfo { |
|
|
|
* this function plus @cpp layers.size() @ce |
|
|
|
* this function plus @cpp layers.size() @ce |
|
|
|
* - `pEnabledLayerNames` to an array containing all layer strings |
|
|
|
* - `pEnabledLayerNames` to an array containing all layer strings |
|
|
|
* added previously by this function together with ones from |
|
|
|
* added previously by this function together with ones from |
|
|
|
* @p layers |
|
|
|
* @p layers (doing a copy where needed) |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @note The function makes copies of string views that are not global |
|
|
|
|
|
|
|
* or null-terminated, use the |
|
|
|
|
|
|
|
* @link Containers::Literals::operator""_s() @endlink literal to |
|
|
|
|
|
|
|
* prevent that where possible. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
InstanceCreateInfo& addEnabledLayers(Containers::ArrayView<const Containers::StringView> layers); |
|
|
|
InstanceCreateInfo& addEnabledLayers(Containers::ArrayView<const Containers::StringView> layers); |
|
|
|
/** @overload */ |
|
|
|
/** @overload */ |
|
|
|
@ -208,10 +211,6 @@ class MAGNUM_VK_EXPORT InstanceCreateInfo { |
|
|
|
* @ref Vk-Instance-command-line "command-line options", it's not |
|
|
|
* @ref Vk-Instance-command-line "command-line options", it's not |
|
|
|
* added. |
|
|
|
* added. |
|
|
|
* |
|
|
|
* |
|
|
|
* The function makes copies of string views that are not global or |
|
|
|
|
|
|
|
* null-terminated, use the @link Containers::Literals::operator""_s() @endlink |
|
|
|
|
|
|
|
* literal to prevent that where possible. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* The following @type_vk{InstanceCreateInfo} fields are set by this |
|
|
|
* The following @type_vk{InstanceCreateInfo} fields are set by this |
|
|
|
* function: |
|
|
|
* function: |
|
|
|
* |
|
|
|
* |
|
|
|
@ -219,7 +218,12 @@ class MAGNUM_VK_EXPORT InstanceCreateInfo { |
|
|
|
* previously by this function plus @cpp extensions.size() @ce |
|
|
|
* previously by this function plus @cpp extensions.size() @ce |
|
|
|
* - `pEnabledExtensionNames` to an array containing all extension |
|
|
|
* - `pEnabledExtensionNames` to an array containing all extension |
|
|
|
* strings added previously by this function together with ones |
|
|
|
* strings added previously by this function together with ones |
|
|
|
* from @p extensions |
|
|
|
* from @p extensions (doing a copy where needed) |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @note The function makes copies of string views that are not global |
|
|
|
|
|
|
|
* or null-terminated, use the |
|
|
|
|
|
|
|
* @link Containers::Literals::operator""_s() @endlink literal to |
|
|
|
|
|
|
|
* prevent that where possible. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
InstanceCreateInfo& addEnabledExtensions(Containers::ArrayView<const Containers::StringView> extensions); |
|
|
|
InstanceCreateInfo& addEnabledExtensions(Containers::ArrayView<const Containers::StringView> extensions); |
|
|
|
/** @overload */ |
|
|
|
/** @overload */ |
|
|
|
|