Elaztek Developer Hub
Blamite Game Engine - Strings  00455.08.09.26.2217.blamite
A library containing general purpose utilities and classes for use in multiple projects.
shaderc.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include <vector>
5 
6 #ifdef STRINGS_EXPORTS
7 #define STRINGS_API __declspec(dllexport)
8 #else
9 #define STRINGS_API __declspec(dllimport)
10 #endif
11 
12 enum class _BgfxShaderType
13 {
14  Vertex,
15  Fragment,
16  Compute
17 };
18 
20 {
21  STRINGS_API int CompileShader(int _argc, const char* _argv[]);
22 
23  STRINGS_API int CompileShaderToMemory(char* shader_code, int size, const char* varying, _BgfxShaderType type, std::string platform,
24  std::string profile, void** out_mem, int* out_size, std::string* out_log);
25 }
_BgfxShaderType::Fragment
@ Fragment
_BgfxShaderType::Vertex
@ Vertex
BlamStrings::ShaderCompiler::CompileShaderToMemory
STRINGS_API int CompileShaderToMemory(char *shader_code, int size, const char *varying, _BgfxShaderType type, std::string platform, std::string profile, void **out_mem, int *out_size, std::string *out_log)
Definition: shaderc.cpp:10
STRINGS_API
#define STRINGS_API
Definition: shaderc.h:9
BlamStrings::ShaderCompiler::CompileShader
STRINGS_API int CompileShader(int _argc, const char *_argv[])
Definition: shaderc.cpp:5
_BgfxShaderType::Compute
@ Compute
BlamStrings::ShaderCompiler
Definition: shaderc.h:19
shaderc.h
_BgfxShaderType
_BgfxShaderType
Definition: shaderc.h:12