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 TypeMethodDescriptionint
VMA.allocateMemory
(VmaAllocator allocator, IVkMemoryRequirements pVkMemoryRequirements, IVmaAllocationCreateInfo pCreateInfo, VmaAllocation.Ptr pAllocation, @Nullable IVmaAllocationInfo pAllocationInfo) General purpose memory allocation.int
VMA.allocateMemoryForBuffer
(VmaAllocator allocator, VkBuffer buffer, IVmaAllocationCreateInfo pCreateInfo, VmaAllocation.Ptr pAllocation, @Nullable IVmaAllocationInfo pAllocationInfo) Allocates memory suitable for givenVkBuffer
.int
VMA.allocateMemoryForImage
(VmaAllocator allocator, VkImage image, IVmaAllocationCreateInfo pCreateInfo, VmaAllocation.Ptr pAllocation, @Nullable IVmaAllocationInfo pAllocationInfo) Allocates memory suitable for givenVkImage
.int
VMA.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.int
VMA.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.int
VMA.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.int
VMA.createImage
(VmaAllocator allocator, IVkImageCreateInfo pImageCreateInfo, IVmaAllocationCreateInfo pAllocationCreateInfo, VkImage.Ptr pImage, VmaAllocation.Ptr pAllocation, @Nullable IVmaAllocationInfo pAllocationInfo) Function similar to vmaCreateBuffer().int
VMA.flushAllocations
(VmaAllocator allocator, int allocationCount, VmaAllocation.Ptr allocations, @Nullable LongPtr offsets, @Nullable LongPtr sizes) Flushes memory of given set of allocations.void
VMA.freeMemoryPages
(VmaAllocator allocator, long allocationCount, VmaAllocation.Ptr pAllocations) Frees memory and destroys multiple allocations.int
VMA.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.Ptr
static VmaAllocation.Ptr
static VmaAllocation.Ptr
VmaAllocation.Ptr.allocate
(Arena arena, @Nullable VmaAllocation @NotNull [] values) static VmaAllocation.Ptr
VmaAllocation.Ptr.allocate
(Arena arena, @NotNull Collection<@Nullable VmaAllocation> values) static VmaAllocation.Ptr
VmaAllocation.Ptr.allocateV
(Arena arena, @Nullable VmaAllocation value0, @Nullable VmaAllocation... values) VmaAllocation.Ptr.offset
(long offset) VmaAllocation.Ptr.reinterpret
(long newSize) Assume theVmaAllocation.Ptr
is capable of holding at leastnewSize
handles, create a new viewVmaAllocation.Ptr
that 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).