Overload for getMemoryType (return type index)

This commit is contained in:
saschawillems 2016-05-11 20:19:01 +02:00
parent 59fbf41e31
commit a9f280016f
2 changed files with 19 additions and 0 deletions

View file

@ -229,6 +229,7 @@ public:
// Get memory type for a given memory allocation (flags and bits)
VkBool32 getMemoryType(uint32_t typeBits, VkFlags properties, uint32_t *typeIndex);
uint32_t getMemoryType(uint32_t typeBits, VkFlags properties);
// Creates a new (graphics) command pool object storing command buffers
void createCommandPool();