Uses of Record Class
club.doki7.vma.handle.VmaAllocation.Ptr
Packages that use VmaAllocation.Ptr
-
Uses of VmaAllocation.Ptr in club.doki7.vma
Methods in club.doki7.vma with parameters of type VmaAllocation.PtrModifier and TypeMethodDescriptionintVMA.allocateMemory(VmaAllocator allocator, IVkMemoryRequirements pVkMemoryRequirements, IVmaAllocationCreateInfo pCreateInfo, VmaAllocation.Ptr pAllocation, @Nullable IVmaAllocationInfo pAllocationInfo) General purpose memory allocation.intVMA.allocateMemoryForBuffer(VmaAllocator allocator, VkBuffer buffer, IVmaAllocationCreateInfo pCreateInfo, VmaAllocation.Ptr pAllocation, @Nullable IVmaAllocationInfo pAllocationInfo) Allocates memory suitable for givenVkBuffer.intVMA.allocateMemoryForImage(VmaAllocator allocator, VkImage image, IVmaAllocationCreateInfo pCreateInfo, VmaAllocation.Ptr pAllocation, @Nullable IVmaAllocationInfo pAllocationInfo) Allocates memory suitable for givenVkImage.intVMA.allocateMemoryPages(VmaAllocator allocator, IVkMemoryRequirements pVkMemoryRequirements, IVmaAllocationCreateInfo pCreateInfo, long allocationCount, VmaAllocation.Ptr pAllocations, @Nullable IVmaAllocationInfo pAllocationInfo) General purpose memory allocation for multiple allocation objects at once.intVMA.createBuffer(VmaAllocator allocator, IVkBufferCreateInfo pBufferCreateInfo, IVmaAllocationCreateInfo pAllocationCreateInfo, VkBuffer.Ptr pBuffer, VmaAllocation.Ptr pAllocation, @Nullable IVmaAllocationInfo pAllocationInfo) Creates a newVkBuffer, allocates and binds memory for it.intVMA.createBufferWithAlignment(VmaAllocator allocator, IVkBufferCreateInfo pBufferCreateInfo, IVmaAllocationCreateInfo pAllocationCreateInfo, long minAlignment, VkBuffer.Ptr pBuffer, VmaAllocation.Ptr pAllocation, @Nullable IVmaAllocationInfo pAllocationInfo) Creates a buffer with additional minimum alignment.intVMA.createImage(VmaAllocator allocator, IVkImageCreateInfo pImageCreateInfo, IVmaAllocationCreateInfo pAllocationCreateInfo, VkImage.Ptr pImage, VmaAllocation.Ptr pAllocation, @Nullable IVmaAllocationInfo pAllocationInfo) Function similar to vmaCreateBuffer().intVMA.flushAllocations(VmaAllocator allocator, int allocationCount, VmaAllocation.Ptr allocations, @Nullable LongPtr offsets, @Nullable LongPtr sizes) Flushes memory of given set of allocations.voidVMA.freeMemoryPages(VmaAllocator allocator, long allocationCount, VmaAllocation.Ptr pAllocations) Frees memory and destroys multiple allocations.intVMA.invalidateAllocations(VmaAllocator allocator, int allocationCount, VmaAllocation.Ptr allocations, @Nullable LongPtr offsets, @Nullable LongPtr sizes) Invalidates memory of given set of allocations. -
Uses of VmaAllocation.Ptr in club.doki7.vma.handle
Methods in club.doki7.vma.handle that return VmaAllocation.PtrModifier and TypeMethodDescriptionstatic VmaAllocation.Ptrstatic VmaAllocation.Ptrstatic VmaAllocation.PtrVmaAllocation.Ptr.allocate(Arena arena, @Nullable VmaAllocation @NotNull [] values) static VmaAllocation.PtrVmaAllocation.Ptr.allocate(Arena arena, @NotNull Collection<@Nullable VmaAllocation> values) static VmaAllocation.PtrVmaAllocation.Ptr.allocateV(Arena arena, @Nullable VmaAllocation value0, @Nullable VmaAllocation... values) VmaAllocation.Ptr.offset(long offset) VmaAllocation.Ptr.reinterpret(long newSize) Assume theVmaAllocation.Ptris capable of holding at leastnewSizehandles, create a new viewVmaAllocation.Ptrthat uses the same backing storage as thisVmaAllocation.Ptr, but with the new size.VmaAllocation.Ptr.slice(long end) VmaAllocation.Ptr.slice(long start, long end) Note that this function uses theList.subList(int, int)semantics (left inclusive, right exclusive interval), notMemorySegment.asSlice(long, long)semantics (offset + newSize).