mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-11 04:31:35 -10:00
This is basically the tutorial from vulkan-tutorial.com adapted to using VulkanHpp and with some refactorings that extract some locigally self-contained code. Currently only draws a simple colored triangle.
18 lines
280 B
C++
18 lines
280 B
C++
#pragma once
|
|
|
|
#include "osapi/osapi.h"
|
|
|
|
namespace graphics {
|
|
namespace vulkan {
|
|
|
|
class VulkanRenderer;
|
|
|
|
bool initialize(std::unique_ptr<os::GraphicsOperations>&& graphicsOps);
|
|
|
|
VulkanRenderer* getRendererInstance();
|
|
|
|
void cleanup();
|
|
|
|
} // namespace vulkan
|
|
} // namespace graphics
|