@@ -89,12 +89,12 @@ generateMipmaps(ktxVulkanTexture* vkTexture, ktxVulkanDeviceInfo* vdi,
8989 * @brief Create a ktxVulkanDeviceInfo object.
9090 *
9191 * Allocates CPU memory for a ktxVulkanDeviceInfo object then calls
92- * ktxVulkanDeviceInfo_construct (). See it for documentation of the
92+ * ktxVulkanDeviceInfo\_Construct (). See it for documentation of the
9393 * parameters.
9494 *
9595 * @return a pointer to the constructed ktxVulkanDeviceInfo.
9696 *
97- * @sa ktxVulkanDeviceInfo_construct (), ktxVulkanDeviceInfo_destroy ()
97+ * @sa ktxVulkanDeviceInfo\_Construct (), ktxVulkanDeviceInfo\_Destroy ()
9898 */
9999ktxVulkanDeviceInfo *
100100ktxVulkanDeviceInfo_Create (VkPhysicalDevice physicalDevice , VkDevice device ,
@@ -111,12 +111,12 @@ ktxVulkanDeviceInfo_Create(VkPhysicalDevice physicalDevice, VkDevice device,
111111 * @brief Create a ktxVulkanDeviceInfo object.
112112 *
113113 * Allocates CPU memory for a ktxVulkanDeviceInfo object then calls
114- * ktxVulkanDeviceInfo_construct (). See it for documentation of the
114+ * ktxVulkanDeviceInfo\_Construct (). See it for documentation of the
115115 * parameters.
116116 *
117117 * @return a pointer to the constructed ktxVulkanDeviceInfo.
118118 *
119- * @sa ktxVulkanDeviceInfo_construct (), ktxVulkanDeviceInfo_destroy ()
119+ * @sa ktxVulkanDeviceInfo\_Construct (), ktxVulkanDeviceInfo\_Destroy ()
120120 */
121121ktxVulkanDeviceInfo *
122122ktxVulkanDeviceInfo_CreateEx (VkInstance instance ,
@@ -164,10 +164,14 @@ ktxVulkanDeviceInfo_CreateEx(VkInstance instance,
164164 * Pass a valid ktxVulkanDeviceInfo* to any Vulkan KTX image loading
165165 * function to provide it with the information.
166166 *
167- * @returns KTX_SUCCESS on success, KTX_OUT_OF_MEMORY if a command buffer could
168- * not be allocated.
167+ * @returns KTX\_SUCCESS on success, other KTX\_\* enum values on error.
169168 *
170- * @sa ktxVulkanDeviceInfo_destruct()
169+ * @exception KTX_NOT_FOUND A dynamically loaded Vulkan function
170+ * required by the loader was not found.
171+ *
172+ * @exception KTX_OUT_OF_MEMORY A command buffer could not be allocated.
173+ *
174+ * @sa ktxVulkanDeviceInfo\_Destruct()
171175 *
172176 * @param This pointer to the ktxVulkanDeviceInfo object to
173177 * initialize.
@@ -217,7 +221,7 @@ do { \
217221 if ((member).fun == NULL) { \
218222 (member).fun = (PFN_##fun)ktxLoadVulkanFunction(#fun); \
219223 if ((member).fun == NULL) { \
220- return KTX_FALSE ; \
224+ return KTX_NOT_FOUND ; \
221225 }\
222226 } \
223227} while (0)
@@ -227,7 +231,7 @@ do { \
227231 if ((member).fun == NULL) { \
228232 (member).fun = (PFN_##fun)((member).vkGetInstanceProcAddr)((instance), #fun); \
229233 if ((member).fun == NULL) { \
230- return KTX_FALSE ; \
234+ return KTX_NOT_FOUND ; \
231235 }\
232236 } \
233237} while (0)
@@ -237,7 +241,7 @@ do { \
237241 if ((member).fun == NULL) { \
238242 (member).fun = (PFN_##fun)((member).vkGetDeviceProcAddr)((device), #fun); \
239243 if ((member).fun == NULL) { \
240- return KTX_FALSE ; \
244+ return KTX_NOT_FOUND ; \
241245 }\
242246 } \
243247} while (0)
@@ -369,7 +373,7 @@ ktxVulkanDeviceInfo_Destruct(ktxVulkanDeviceInfo* This)
369373 * @~English
370374 * @brief Destroy a ktxVulkanDeviceInfo object.
371375 *
372- * Calls ktxVulkanDeviceInfo_destruct () then frees the ktxVulkanDeviceInfo.
376+ * Calls ktxVulkanDeviceInfo\_Destruct () then frees the ktxVulkanDeviceInfo.
373377 *
374378 * @param This pointer to the ktxVulkanDeviceInfo to destroy.
375379 */
0 commit comments