Uses of Record Class
club.doki7.vma.handle.VmaAllocation
Packages that use VmaAllocation
-
Uses of VmaAllocation in club.doki7.vma
Methods in club.doki7.vma with parameters of type VmaAllocationModifier and TypeMethodDescriptionint
VMA.bindBufferMemory
(VmaAllocator allocator, VmaAllocation allocation, VkBuffer buffer) Binds buffer to allocation.int
VMA.bindBufferMemory2
(VmaAllocator allocator, VmaAllocation allocation, long allocationLocalOffset, VkBuffer buffer, @NotNull MemorySegment pNext) Binds buffer to allocation with additional parameters.int
VMA.bindImageMemory
(VmaAllocator allocator, VmaAllocation allocation, VkImage image) Binds image to allocation.int
VMA.bindImageMemory2
(VmaAllocator allocator, VmaAllocation allocation, long allocationLocalOffset, VkImage image, @NotNull MemorySegment pNext) Binds image to allocation with additional parameters.int
VMA.copyAllocationToMemory
(VmaAllocator allocator, VmaAllocation srcAllocation, long srcAllocationLocalOffset, @NotNull MemorySegment pDstHostPointer, long size) Invalidates memory in the host caches if needed, maps the allocation temporarily if needed, and copies data from it to a specified host pointer.int
VMA.copyMemoryToAllocation
(VmaAllocator allocator, @NotNull MemorySegment pSrcHostPointer, VmaAllocation dstAllocation, long dstAllocationLocalOffset, long size) Maps the allocation temporarily if needed, copies data from specified host pointer to it, and flushes the memory from the host caches if needed.int
VMA.createAliasingBuffer
(VmaAllocator allocator, VmaAllocation allocation, IVkBufferCreateInfo pBufferCreateInfo, VkBuffer.Ptr pBuffer) Creates a newVkBuffer
, binds already created memory for it.int
VMA.createAliasingBuffer2
(VmaAllocator allocator, VmaAllocation allocation, long allocationLocalOffset, IVkBufferCreateInfo pBufferCreateInfo, VkBuffer.Ptr pBuffer) Creates a newVkBuffer
, binds already created memory for it.int
VMA.createAliasingImage
(VmaAllocator allocator, VmaAllocation allocation, IVkImageCreateInfo pImageCreateInfo, VkImage.Ptr pImage) Function similar to vmaCreateAliasingBuffer() but for images.int
VMA.createAliasingImage2
(VmaAllocator allocator, VmaAllocation allocation, long allocationLocalOffset, IVkImageCreateInfo pImageCreateInfo, VkImage.Ptr pImage) Function similar to vmaCreateAliasingBuffer2() but for images.void
VMA.destroyBuffer
(VmaAllocator allocator, @Nullable VkBuffer buffer, @Nullable VmaAllocation allocation) Destroys Vulkan buffer and frees allocated memory.void
VMA.destroyImage
(VmaAllocator allocator, @Nullable VkImage image, @Nullable VmaAllocation allocation) Destroys Vulkan image and frees allocated memory.int
VMA.flushAllocation
(VmaAllocator allocator, VmaAllocation allocation, long offset, long size) Flushes memory of given allocation.void
VMA.freeMemory
(VmaAllocator allocator, @Nullable VmaAllocation allocation) Frees memory previously allocated using vmaAllocateMemory(), vmaAllocateMemoryForBuffer(), or vmaAllocateMemoryForImage().void
VMA.getAllocationInfo
(VmaAllocator allocator, VmaAllocation allocation, IVmaAllocationInfo pAllocationInfo) Returns current information about specified allocation.void
VMA.getAllocationInfo2
(VmaAllocator allocator, VmaAllocation allocation, IVmaAllocationInfo2 pAllocationInfo) Returns extended information about specified allocation.void
VMA.getAllocationMemoryProperties
(VmaAllocator allocator, VmaAllocation allocation, IntPtr pFlags) Given an allocation, returns Property Flags of its memory type.int
VMA.getMemoryWin32Handle
(VmaAllocator allocator, VmaAllocation allocation, @NotNull MemorySegment hTargetProcess, PointerPtr pHandle) Given an allocation, returns Win32 handle that may be imported by other processes or APIs.int
VMA.invalidateAllocation
(VmaAllocator allocator, VmaAllocation allocation, long offset, long size) Invalidates memory of given allocation.int
VMA.mapMemory
(VmaAllocator allocator, VmaAllocation allocation, PointerPtr ppData) Maps memory represented by given allocation and returns pointer to it.void
VMA.setAllocationName
(VmaAllocator allocator, VmaAllocation allocation, @Nullable BytePtr pName) Sets pName in given allocation to new value.void
VMA.setAllocationUserData
(VmaAllocator allocator, VmaAllocation allocation, @NotNull MemorySegment pUserData) Sets pUserData in given allocation to new value.void
VMA.unmapMemory
(VmaAllocator allocator, VmaAllocation allocation) Unmaps memory represented by given allocation, mapped previously using vmaMapMemory(). -
Uses of VmaAllocation in club.doki7.vma.datatype
Methods in club.doki7.vma.datatype that return VmaAllocationModifier and TypeMethodDescription@Nullable VmaAllocation
VmaDefragmentationMove.dstTmpAllocation()
@Nullable VmaAllocation
VmaDefragmentationMove.srcAllocation()
Methods in club.doki7.vma.datatype with parameters of type VmaAllocationModifier and TypeMethodDescriptionVmaDefragmentationMove.dstTmpAllocation
(@Nullable VmaAllocation value) VmaDefragmentationMove.srcAllocation
(@Nullable VmaAllocation value) -
Uses of VmaAllocation in club.doki7.vma.handle
Classes in club.doki7.vma.handle that implement interfaces with type arguments of type VmaAllocationModifier and TypeClassDescriptionstatic final record
Represents a pointer toVmaAllocation
handle(s) in native memory.Methods in club.doki7.vma.handle that return VmaAllocationModifier and TypeMethodDescription@Nullable VmaAllocation
VmaAllocation.Ptr.read()
@Nullable VmaAllocation
VmaAllocation.Ptr.read
(long index) Methods in club.doki7.vma.handle that return types with arguments of type VmaAllocationMethods in club.doki7.vma.handle with parameters of type VmaAllocationModifier and TypeMethodDescriptionstatic VmaAllocation.Ptr
VmaAllocation.Ptr.allocate
(Arena arena, @Nullable VmaAllocation @NotNull [] values) static VmaAllocation.Ptr
VmaAllocation.Ptr.allocateV
(Arena arena, @Nullable VmaAllocation value0, @Nullable VmaAllocation... values) void
VmaAllocation.Ptr.write
(long index, @Nullable VmaAllocation value) void
VmaAllocation.Ptr.write
(@Nullable VmaAllocation value) void
VmaAllocation.Ptr.write
(@Nullable VmaAllocation[] values) void
VmaAllocation.Ptr.writeV
(@Nullable VmaAllocation value0, @Nullable VmaAllocation... values) Method parameters in club.doki7.vma.handle with type arguments of type VmaAllocationModifier and TypeMethodDescriptionstatic VmaAllocation.Ptr
VmaAllocation.Ptr.allocate
(Arena arena, @NotNull Collection<@Nullable VmaAllocation> values)