Files
Towards/external/loft/modules/base/include/shaders/SpirvShaderBuilder.hpp
T
Martin Slachta a04f0dc262 initial
2026-07-18 14:31:15 +02:00

24 lines
450 B
C++

//
// Created by martin on 10/24/23.
//
#ifndef LOFT_SPIRVSHADERBUILDER_HPP
#define LOFT_SPIRVSHADERBUILDER_HPP
#include "ShaderBuilder.hpp"
#include "Gpu.hpp"
class SpirvShaderBuilder : public ShaderBuilder {
private:
const Gpu* m_gpu;
public:
SpirvShaderBuilder(const Gpu* gpu);
Shader from_binary(const std::vector<uint32_t>& code) const;
Shader from_file(std::string path) override;
};
#endif //LOFT_SPIRVSHADERBUILDER_HPP