Removed old mesh loader, replaced with new model loader and vertex layout class in all examples (Refs #260)

This commit is contained in:
saschawillems 2017-02-11 14:18:24 +01:00
parent f326b3ec77
commit 7e43a55a76
35 changed files with 843 additions and 1715 deletions

View file

@ -44,7 +44,6 @@
#include "VulkanInitializers.hpp"
#include "vulkandevice.hpp"
#include "vulkanswapchain.hpp"
#include "vulkanMeshLoader.hpp"
#include "vulkantextoverlay.hpp"
#include "camera.hpp"
@ -355,19 +354,6 @@ public:
// Load a SPIR-V shader
VkPipelineShaderStageCreateInfo loadShader(std::string fileName, VkShaderStageFlagBits stage);
// Load a mesh (using ASSIMP) and create vulkan vertex and index buffers with given vertex layout
void loadMesh(
std::string fiename,
vkMeshLoader::MeshBuffer *meshBuffer,
std::vector<vkMeshLoader::VertexLayout> vertexLayout,
float scale);
void loadMesh(
std::string filename,
vkMeshLoader::MeshBuffer *meshBuffer,
std::vector<vkMeshLoader::VertexLayout>
vertexLayout,
vkMeshLoader::MeshCreateInfo *meshCreateInfo);
// Start the main render loop
void renderLoop();