Open CASCADE Technology
6.9.0
|
Tool class for management of shader sources. More...
#include <OpenGl_View.hxx>
Public Member Functions | |
ShaderSource () | |
Creates new uninitialized shader source. More... | |
ShaderSource (const TCollection_AsciiString &theFileName) | |
Creates new shader source from specified file. More... | |
const TCollection_AsciiString & | Prefix () const |
Returns prefix to insert before the source. More... | |
void | SetPrefix (const TCollection_AsciiString &thePrefix) |
Sets prefix to insert before the source. More... | |
TCollection_AsciiString | Source () const |
Returns shader source combined with prefix. More... | |
void | Load (const TCollection_AsciiString *theFileNames, const Standard_Integer theCount) |
Loads shader source from specified files. More... | |
Tool class for management of shader sources.
|
inline |
Creates new uninitialized shader source.
|
inline |
Creates new shader source from specified file.
void OpenGl_View::ShaderSource::Load | ( | const TCollection_AsciiString * | theFileNames, |
const Standard_Integer | theCount | ||
) |
Loads shader source from specified files.
|
inline |
Returns prefix to insert before the source.
|
inline |
Sets prefix to insert before the source.
TCollection_AsciiString OpenGl_View::ShaderSource::Source | ( | ) | const |
Returns shader source combined with prefix.