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 TypeMethodDescriptionintVMA.bindBufferMemory(VmaAllocator allocator, VmaAllocation allocation, VkBuffer buffer) Binds buffer to allocation.intVMA.bindBufferMemory2(VmaAllocator allocator, VmaAllocation allocation, long allocationLocalOffset, VkBuffer buffer, @NotNull MemorySegment pNext) Binds buffer to allocation with additional parameters.intVMA.bindImageMemory(VmaAllocator allocator, VmaAllocation allocation, VkImage image) Binds image to allocation.intVMA.bindImageMemory2(VmaAllocator allocator, VmaAllocation allocation, long allocationLocalOffset, VkImage image, @NotNull MemorySegment pNext) Binds image to allocation with additional parameters.intVMA.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.intVMA.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.intVMA.createAliasingBuffer(VmaAllocator allocator, VmaAllocation allocation, IVkBufferCreateInfo pBufferCreateInfo, VkBuffer.Ptr pBuffer) Creates a newVkBuffer, binds already created memory for it.intVMA.createAliasingBuffer2(VmaAllocator allocator, VmaAllocation allocation, long allocationLocalOffset, IVkBufferCreateInfo pBufferCreateInfo, VkBuffer.Ptr pBuffer) Creates a newVkBuffer, binds already created memory for it.intVMA.createAliasingImage(VmaAllocator allocator, VmaAllocation allocation, IVkImageCreateInfo pImageCreateInfo, VkImage.Ptr pImage) Function similar to vmaCreateAliasingBuffer() but for images.intVMA.createAliasingImage2(VmaAllocator allocator, VmaAllocation allocation, long allocationLocalOffset, IVkImageCreateInfo pImageCreateInfo, VkImage.Ptr pImage) Function similar to vmaCreateAliasingBuffer2() but for images.voidVMA.destroyBuffer(VmaAllocator allocator, @Nullable VkBuffer buffer, @Nullable VmaAllocation allocation) Destroys Vulkan buffer and frees allocated memory.voidVMA.destroyImage(VmaAllocator allocator, @Nullable VkImage image, @Nullable VmaAllocation allocation) Destroys Vulkan image and frees allocated memory.intVMA.flushAllocation(VmaAllocator allocator, VmaAllocation allocation, long offset, long size) Flushes memory of given allocation.voidVMA.freeMemory(VmaAllocator allocator, @Nullable VmaAllocation allocation) Frees memory previously allocated using vmaAllocateMemory(), vmaAllocateMemoryForBuffer(), or vmaAllocateMemoryForImage().voidVMA.getAllocationInfo(VmaAllocator allocator, VmaAllocation allocation, IVmaAllocationInfo pAllocationInfo) Returns current information about specified allocation.voidVMA.getAllocationInfo2(VmaAllocator allocator, VmaAllocation allocation, IVmaAllocationInfo2 pAllocationInfo) Returns extended information about specified allocation.voidVMA.getAllocationMemoryProperties(VmaAllocator allocator, VmaAllocation allocation, IntPtr pFlags) Given an allocation, returns Property Flags of its memory type.intVMA.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.intVMA.invalidateAllocation(VmaAllocator allocator, VmaAllocation allocation, long offset, long size) Invalidates memory of given allocation.intVMA.mapMemory(VmaAllocator allocator, VmaAllocation allocation, PointerPtr ppData) Maps memory represented by given allocation and returns pointer to it.voidVMA.setAllocationName(VmaAllocator allocator, VmaAllocation allocation, @Nullable BytePtr pName) Sets pName in given allocation to new value.voidVMA.setAllocationUserData(VmaAllocator allocator, VmaAllocation allocation, @NotNull MemorySegment pUserData) Sets pUserData in given allocation to new value.voidVMA.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 VmaAllocationVmaDefragmentationMove.dstTmpAllocation()@Nullable VmaAllocationVmaDefragmentationMove.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 recordRepresents a pointer toVmaAllocationhandle(s) in native memory.Methods in club.doki7.vma.handle that return VmaAllocationModifier and TypeMethodDescription@Nullable VmaAllocationVmaAllocation.Ptr.read()@Nullable VmaAllocationVmaAllocation.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.PtrVmaAllocation.Ptr.allocate(Arena arena, @Nullable VmaAllocation @NotNull [] values) static VmaAllocation.PtrVmaAllocation.Ptr.allocateV(Arena arena, @Nullable VmaAllocation value0, @Nullable VmaAllocation... values) voidVmaAllocation.Ptr.write(long index, @Nullable VmaAllocation value) voidVmaAllocation.Ptr.write(@Nullable VmaAllocation value) voidVmaAllocation.Ptr.write(@Nullable VmaAllocation[] values) voidVmaAllocation.Ptr.writeV(@Nullable VmaAllocation value0, @Nullable VmaAllocation... values) Method parameters in club.doki7.vma.handle with type arguments of type VmaAllocationModifier and TypeMethodDescriptionstatic VmaAllocation.PtrVmaAllocation.Ptr.allocate(Arena arena, @NotNull Collection<@Nullable VmaAllocation> values)