zengine/engine/modules/render/vulkan/src/vulkan_api.cpp

30 lines
487 B
C++
Raw Normal View History

2024-08-17 18:01:21 +08:00
#include "vkn/vulkan_api.h"
#include "vkn/vulkan_window.h"
2024-08-25 22:41:25 +08:00
#include "render/asset/mesh.h"
2024-08-17 18:01:21 +08:00
namespace vkn {
2024-08-23 22:13:05 +08:00
VulkanAPI::VulkanAPI() : window(*VulkanWindow::Ptr()), backend(VulkanEngineName)
2024-08-17 18:01:21 +08:00
{
2024-08-23 22:13:05 +08:00
2024-08-17 18:01:21 +08:00
}
void VulkanAPI::Init()
{
}
void VulkanAPI::Shutdown()
{
}
2024-08-25 22:41:25 +08:00
void VulkanAPI::SetStaticMesh(Mesh& mesh)
{
auto Indices = mesh.GetIndices();
auto Vertices = mesh.GetVertices();
}
void VulkanAPI::DrawStaticMesh(Mesh& mesh)
{
}
void VulkanAPI::LoadShader(Shader& shader)
{
}
2024-08-17 18:01:21 +08:00
}