Elaztek Developer Hub
Switch Project...
blam!
Editing Kit
Guerilla
Sapien
Tool
Foundry
Libraries
Keystone
Strings
Forums
Discord
Doxygen
Jenkins
Guides
Gitlab
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
19
namespace
BlamStrings::ShaderCompiler
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
Strings
components
3rdparty
shaderc
shaderc.h
Generated on Mon Aug 10 2026 01:48:31 for Blamite Game Engine - Strings by
1.8.17