Small code refactoring - preparing for further parts of the tutorial.

This commit is contained in:
Pawel Lapinski
2018-02-27 10:51:55 +01:00
parent c3741bf127
commit 85c53b9c33
11 changed files with 48 additions and 114 deletions

View File

@@ -20,8 +20,7 @@
namespace ApiWithoutSecrets {
Tutorial04::Tutorial04() :
Vulkan() {
Tutorial04::Tutorial04() {
}
bool Tutorial04::CreateRenderPass() {

View File

@@ -22,23 +22,6 @@
namespace ApiWithoutSecrets {
// ************************************************************ //
// BufferParameters //
// //
// Vulkan Buffer's parameters container class //
// ************************************************************ //
struct BufferParameters {
VkBuffer Handle;
VkDeviceMemory Memory;
uint32_t Size;
BufferParameters() :
Handle( VK_NULL_HANDLE ),
Memory( VK_NULL_HANDLE ),
Size( 0 ) {
}
};
// ************************************************************ //
// VertexData //
// //