libktx Reference 4.3.2
Libraries and tools to create and read KTX image texture files.
Loading...
Searching...
No Matches
ktxVulkanTexture_subAllocatorCallbacks Class Reference

Struct that contains all callbacks necessary for suballocation. More...

#include <ktxvulkan.h>

Data Fields

ktxVulkanTexture_subAllocatorAllocMemFuncPtr allocMemFuncPtr
 
ktxVulkanTexture_subAllocatorBindBufferFuncPtr bindBufferFuncPtr
 
ktxVulkanTexture_subAllocatorBindImageFuncPtr bindImageFuncPtr
 
ktxVulkanTexture_subAllocatorMemoryMapFuncPtr memoryMapFuncPtr
 
ktxVulkanTexture_subAllocatorMemoryUnmapFuncPtr memoryUnmapFuncPtr
 
ktxVulkanTexture_subAllocatorFreeMemFuncPtr freeMemFuncPtr
 

Detailed Description

Struct that contains all callbacks necessary for suballocation.

These pointers must all be provided for upload or destroy to occur using suballocator callbacks.

Field Documentation

◆ allocMemFuncPtr

ktxVulkanTexture_subAllocatorAllocMemFuncPtr allocMemFuncPtr

Pointer to the memory procurement function. Can suballocate one or more pages.

◆ bindBufferFuncPtr

ktxVulkanTexture_subAllocatorBindBufferFuncPtr bindBufferFuncPtr

Pointer to bind-buffer-to-suballocation(s) function.

◆ bindImageFuncPtr

ktxVulkanTexture_subAllocatorBindImageFuncPtr bindImageFuncPtr

Pointer to bind-image-to-suballocation(s) function.

◆ freeMemFuncPtr

ktxVulkanTexture_subAllocatorFreeMemFuncPtr freeMemFuncPtr

Pointer to the free procurement function.

◆ memoryMapFuncPtr

ktxVulkanTexture_subAllocatorMemoryMapFuncPtr memoryMapFuncPtr

Pointer to function for mapping the memory of a specific page.

◆ memoryUnmapFuncPtr

ktxVulkanTexture_subAllocatorMemoryUnmapFuncPtr memoryUnmapFuncPtr

Pointer to function for unmapping the memory of a specific page.