initial
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user