MemoryAllocateInfo class new in Git master
          #include <Magnum/Vk/MemoryAllocateInfo.h>
        
        Memory allocation info.
Wraps a VkMemoryAllocateInfo. See Memory allocation for usage information.
Constructors, destructors, conversion operators
- MemoryAllocateInfo(UnsignedLong size, UnsignedInt memory) explicit
- Constructor.
- MemoryAllocateInfo(NoInitT) explicit noexcept
- Construct without initializing the contents.
- MemoryAllocateInfo(const VkMemoryAllocateInfo& info) explicit
- Construct from existing data.
- operator const VkMemoryAllocateInfo*() const
Public functions
- auto operator*() -> VkMemoryAllocateInfo&
- Underlying VkMemoryAllocateInfo structure.
- auto operator*() const -> const VkMemoryAllocateInfo&
- auto operator->() -> VkMemoryAllocateInfo*
- auto operator->() const -> const VkMemoryAllocateInfo*
Function documentation
               Magnum::
            Constructor.
| Parameters | |
|---|---|
| size | Allocation size in bytes | 
| memory | Memory index, smaller than DeviceProperties:: | 
The following VkMemoryAllocateInfo fields are pre-filled in addition to sType, everything else is zero-filled:
- allocationSizeto- size
- memoryTypeIndexto- memory
               Magnum::
            Construct without initializing the contents.
Note that not even the sType field is set — the structure has to be fully initialized afterwards in order to be usable.
               Magnum::
            Construct from existing data.
Copies the existing values verbatim, pointers are kept unchanged without taking over the ownership. Modifying the newly created instance will not modify the original data nor the pointed-to data.
               Magnum::
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
              const VkMemoryAllocateInfo& Magnum::
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
              VkMemoryAllocateInfo* Magnum::
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
              const VkMemoryAllocateInfo* Magnum::
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.