Added graphics shader support

This commit is contained in:
TheCherno
2025-05-27 21:07:28 +10:00
parent 87873485f3
commit 86a810b65e
2 changed files with 110 additions and 4 deletions

View File

@@ -3,4 +3,7 @@
#include <filesystem>
uint32_t CreateComputeShader(const std::filesystem::path& path);
uint32_t ReloadComputeShader(uint32_t shaderHandle, const std::filesystem::path& path);
uint32_t ReloadComputeShader(uint32_t shaderHandle, const std::filesystem::path& path);
uint32_t CreateGraphicsShader(const std::filesystem::path& vertexPath, const std::filesystem::path& fragmentPath);
uint32_t ReloadGraphicsShader(uint32_t shaderHandle, const std::filesystem::path& vertexPath, const std::filesystem::path& fragmentPath);