Elaztek Developer Hub
Blamite Game Engine - Guerilla (Library)  00453.06.08.26.0624.blamite
The tag editor for the Blamite Game Engine.
shader.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include <vector>
5 
6 #ifdef GUERILLA_LIB_EXPORTS
7 #define GUERILLA_LIB_API __declspec(dllexport)
8 #else
9 #define GUERILLA_LIB_API __declspec(dllimport)
10 #endif
11 
12 enum class ShaderType
13 {
14  Vertex,
15  Fragment
16 };
17 
22 {
23  GUERILLA_LIB_API int CompileShader(std::string file_path, std::string output_directory, ShaderType type, std::string profile);
24  GUERILLA_LIB_API int ExecuteShaderc(std::vector<std::string> args);
25 }
Guerilla::Tags::Importers::Shader
Namespace containing functions used for importing shader tags from source assets.
Definition: shader.h:21
Guerilla::Tags::Importers::Shader::CompileShader
GUERILLA_LIB_API int CompileShader(std::string file_path, std::string output_directory, ShaderType type, std::string profile)
Definition: shader.cpp:9
ShaderType::Fragment
@ Fragment
ShaderType::Vertex
@ Vertex
Guerilla::Tags::Importers::Shader::ExecuteShaderc
GUERILLA_LIB_API int ExecuteShaderc(std::vector< std::string > args)
Definition: shader.cpp:45
GUERILLA_LIB_API
#define GUERILLA_LIB_API
Definition: shader.h:9
shader.h
ShaderType
ShaderType
Definition: shader.h:12