|
The Vish Visualization Shell 0.3
Vish
|
Public Types | |
| enum | ExtensionBehavior { enable , require , warn , disable } |
| https://www.khronos.org/opengl/wiki/Core_Language_(GLSL)#Extensions More... | |
Public Member Functions | |
| bool | fillSources (std::vector< std::string > &Sources) const |
| Fill the first elements of the given Sources with the shader prefixes as computed from the current prefix settings. | |
| size_t | getNumberOfSources () const |
| Get the number of sources that the current prefix settings will need. | |
| void | setExtensionBehavior (const glsl &Ext, const ExtensionBehavior=enable) |
| Generates a string of the kind. | |
Public Attributes | |
| std::list< glsl > | extensions |
| GLSL extension settings. | |
| std::list< glsl > | layouts |
| Layout specifications. | |
| glsl | version |
| GLSL version string. | |
https://www.khronos.org/opengl/wiki/Core_Language_(GLSL)#Extensions
| bool Wizt::Programmable::ShaderPrefix::fillSources | ( | std::vector< std::string > & | Sources | ) | const |
Fill the first elements of the given Sources with the shader prefixes as computed from the current prefix settings.
| void Wizt::Programmable::ShaderPrefix::setExtensionBehavior | ( | const glsl & | Ext, |
| const ExtensionBehavior | E = enable |
||
| ) |
Generates a string of the kind.
and places it into the extensions list.
| glsl Wizt::Programmable::ShaderPrefix::version |
GLSL version string.
Always comes first.