示例#1
0
 public static extern int vmaAllocateMemoryForImage(
     IntPtr allocator,
     IntPtr image,
     ref VmaAllocationCreateInfo pCreateInfo,
     out IntPtr pAllocation,
     out VmaAllocationInfo pAllocationInfo
     );
示例#2
0
 public static extern int vmaAllocateMemoryForBuffer(
     IntPtr allocator,
     IntPtr buffer,
     ref VmaAllocationCreateInfo pCreateInfo,
     out IntPtr pAllocation,
     out VmaAllocationInfo pAllocationInfo
     );
示例#3
0
 public static extern int vmaAllocateMemory(
     IntPtr allocator,
     IntPtr pVkMemoryRequirements,
     ref VmaAllocationCreateInfo pCreateInfo,
     out IntPtr pAllocation,
     out VmaAllocationInfo pAllocationInfo
     );
示例#4
0
 public static extern int vmaAllocateMemoryPages(
     IntPtr allocator,
     IntPtr pVkMemoryRequirements,
     ref VmaAllocationCreateInfo pCreateInfo,
     uint allocationCount,
     out IntPtr[] pAllocations,
     out VmaAllocationInfo pAllocationInfo
     );
示例#5
0
 public static extern void vmaGetAllocationInfo(
     IntPtr allocator,
     IntPtr allocation,
     out VmaAllocationInfo pAllocationInfo
     );