diff --git a/docs/html/allocation_annotation.html b/docs/html/allocation_annotation.html index 23adaec..971a8c8 100644 --- a/docs/html/allocation_annotation.html +++ b/docs/html/allocation_annotation.html @@ -116,18 +116,18 @@ Allocation names
Version 3.0.0-development (2020-06-24)
+Version 3.0.0-development (2020-11-03)
Copyright (c) 2017-2020 Advanced Micro Devices, Inc. All rights reserved.
License: MIT
Documentation of all members: vk_mem_alloc.h
diff --git a/docs/html/lost_allocations.html b/docs/html/lost_allocations.html index 5308803..244ee9c 100644 --- a/docs/html/lost_allocations.html +++ b/docs/html/lost_allocations.html @@ -125,15 +125,15 @@ $(function() {It may be a good idea to create dedicated CPP file just for this purpose.
Note on language: This library is written in C++, but has C-compatible interface. Thus you can include and use vk_mem_alloc.h in C or C++ code, but full implementation with VMA_IMPLEMENTATION
macro must be compiled as C++, NOT as C.
Please note that this library includes header <vulkan/vulkan.h>
, which in turn includes <windows.h>
on Windows. If you need some specific macros defined before including these headers (like WIN32_LEAN_AND_MEAN
or WINVER
for Windows, VK_USE_PLATFORM_WIN32_KHR
for Vulkan), you must define them before every #include
of this library.
You may need to configure the way you import Vulkan functions.
+#define VMA_STATIC_VULKAN_FUNCTIONS 0
before #include
of the VMA implementation and use another way.#define VMA_DYNAMIC_VULKAN_FUNCTIONS 1
and make sure vkGetInstanceProcAddr
and vkGetDeviceProcAddr
globals are defined. All the remaining Vulkan functions will be fetched automatically.At program startup:
@@ -91,13 +97,15 @@ InitializationOnly members physicalDevice
, device
, instance
are required. However, you should inform the library which Vulkan version do you use by setting VmaAllocatorCreateInfo::vulkanApiVersion and which extensions did you enable by setting VmaAllocatorCreateInfo::flags (like VMA_ALLOCATOR_CREATE_BUFFER_DEVICE_ADDRESS_BIT for VK_KHR_buffer_device_address). Otherwise, VMA would use only features of Vulkan 1.0 core with no extensions.
When you want to create a buffer or image: