FCT
载入中...
搜索中...
未找到
ShaderCompiler.h
浏览该文件的文档.
1//
2// Created by Administrator on 2025/4/8.
3//
4#include "../ThirdParty.h"
5#include "./ShaderGenerate.h"
6#ifndef SHADERCOMPILER_H
7#define SHADERCOMPILER_H
8namespace FCT
9{
11 public:
12 virtual ~ShaderCompiler() = default;
13 virtual std::vector<char> compile(const std::string &source, const std::string &entry_point,ShaderKind kind) = 0;
14 protected:
15
16 };
17}
18#endif //SHADERCOMPILER_H
virtual ~ShaderCompiler()=default
virtual std::vector< char > compile(const std::string &source, const std::string &entry_point, ShaderKind kind)=0