![]() |
DDNet documentation
|
#include <glsl_shader_compiler.h>
Classes | |
| struct | SGLSLCompilerDefine |
Public Types | |
| enum | EGLSLCompilerTextureReplaceType { GLSL_COMPILER_TEXTURE_REPLACE_TYPE_2D = 0 , GLSL_COMPILER_TEXTURE_REPLACE_TYPE_3D , GLSL_COMPILER_TEXTURE_REPLACE_TYPE_2D_ARRAY } |
Public Member Functions | |
| CGLSLCompiler (int OpenGLVersionMajor, int OpenGLVersionMinor, int OpenGLVersionPatch, bool IsOpenGLES, float TextureLODBias) | |
| void | SetHasTextureArray (bool TextureArray) |
| void | SetTextureReplaceType (int TextureReplaceType) |
| void | AddDefine (const std::string &DefineName, const std::string &DefineValue) |
| void | AddDefine (const char *pDefineName, const char *pDefineValue) |
| void | ClearDefines () |
| void | ParseLine (std::string &Line, const char *pReadLine, EGLSLShaderCompilerType Type) |
Private Attributes | |
| std::vector< SGLSLCompilerDefine > | m_vDefines |
| int | m_OpenGLVersionMajor |
| int | m_OpenGLVersionMinor |
| int | m_OpenGLVersionPatch |
| bool | m_IsOpenGLES |
| float | m_TextureLODBias |
| bool | m_HasTextureArray |
| int | m_TextureReplaceType |
Friends | |
| class | CGLSL |
| CGLSLCompiler::CGLSLCompiler | ( | int | OpenGLVersionMajor, |
| int | OpenGLVersionMinor, | ||
| int | OpenGLVersionPatch, | ||
| bool | IsOpenGLES, | ||
| float | TextureLODBias ) |
| void CGLSLCompiler::AddDefine | ( | const char * | pDefineName, |
| const char * | pDefineValue ) |
| void CGLSLCompiler::AddDefine | ( | const std::string & | DefineName, |
| const std::string & | DefineValue ) |
| void CGLSLCompiler::ClearDefines | ( | ) |
| void CGLSLCompiler::ParseLine | ( | std::string & | Line, |
| const char * | pReadLine, | ||
| EGLSLShaderCompilerType | Type ) |
|
inline |
|
inline |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |