Vertex or fragment shader object class.
More...
#include <SoGLShaderObject.h>
|
| std::string | adaptSourceString () |
| |
| | SoGLShader () |
| | Constructor.
|
| |
| virtual | ~SoGLShader () |
| | Destructor.
|
| |
| void | errClear (const char *string=nullptr) const |
| | Clear OpenGL error state and print any previously not displayed error message.
|
| |
| void | errCheck (const char *string=nullptr) const |
| | Check for OpenGL errors and print error message if one is found.
|
| |
| SbBool | error (const char *string=nullptr) const |
| | Returns 'TRUE' if OpenGL error is found.
|
| |
Vertex or fragment shader object class.
Definition at line 28 of file SoGLShaderObject.h.
◆ SoGLShaderObject()
◆ ~SoGLShaderObject()
| SoGLShaderObject::~SoGLShaderObject |
( |
| ) |
|
|
override |
◆ activate()
| void SoGLShaderObject::activate |
( |
SbBool |
act | ) |
|
◆ adaptSourceString()
| std::string SoGLShaderObject::adaptSourceString |
( |
| ) |
|
|
protected |
◆ alwaysReadErrorLog()
| bool SoGLShaderObject::alwaysReadErrorLog |
( |
| ) |
|
|
inline |
◆ attach()
◆ compile()
| void SoGLShaderObject::compile |
( |
| ) |
|
◆ detach()
| void SoGLShaderObject::detach |
( |
| ) |
|
◆ getErrorLog()
| const SbString & SoGLShaderObject::getErrorLog |
( |
| ) |
|
|
inline |
◆ getName()
| const SbString & SoGLShaderObject::getName |
( |
| ) |
const |
|
inline |
◆ getShaderProgram()
◆ getSource()
| const SbString & SoGLShaderObject::getSource |
( |
| ) |
const |
|
inline |
◆ hadCompileError()
| bool SoGLShaderObject::hadCompileError |
( |
| ) |
|
|
inline |
◆ isActive()
| SbBool SoGLShaderObject::isActive |
( |
| ) |
const |
|
inline |
◆ isCreated()
| SbBool SoGLShaderObject::isCreated |
( |
| ) |
const |
|
inline |
◆ reset()
| void SoGLShaderObject::reset |
( |
| ) |
|
|
overridevirtual |
Free all resources (OpenGL too) and reset instance to initial state.
Reimplemented from SoGLShader.
◆ scheduleCompile()
| void SoGLShaderObject::scheduleCompile |
( |
| ) |
|
|
inline |
◆ scheduleRebuild()
| void SoGLShaderObject::scheduleRebuild |
( |
| ) |
|
|
inline |
◆ setAlwaysReadErrorLog()
| void SoGLShaderObject::setAlwaysReadErrorLog |
( |
bool |
flag | ) |
|
|
inline |
◆ setEmulateLegacyOpenGL()
| void SoGLShaderObject::setEmulateLegacyOpenGL |
( |
bool |
flag | ) |
|
◆ setName()
| void SoGLShaderObject::setName |
( |
const SbString & |
name | ) |
|
|
inline |
◆ setSource()
| void SoGLShaderObject::setSource |
( |
const SbString & |
source | ) |
|
◆ shaderType()
◆ shouldCompile()
| SbBool SoGLShaderObject::shouldCompile |
( |
| ) |
const |
|
inline |
◆ version()
| int SoGLShaderObject::version |
( |
| ) |
const |
|
inline |
◆ _alwaysReadErrorLog
| bool SoGLShaderObject::_alwaysReadErrorLog |
|
protected |
◆ _emulateLegacyOpenGL
| bool SoGLShaderObject::_emulateLegacyOpenGL |
|
protected |
◆ _errorLog
| SbString SoGLShaderObject::_errorLog |
|
protected |
◆ _hadError
| bool SoGLShaderObject::_hadError |
|
protected |
◆ _isActive
| SbBool SoGLShaderObject::_isActive |
|
protected |
◆ _name
| SbString SoGLShaderObject::_name |
|
protected |
◆ _shaderProgram
◆ _shaderRes
| ml::GLSLShader SoGLShaderObject::_shaderRes |
|
protected |
◆ _shaderType
◆ _shouldCompile
| SbBool SoGLShaderObject::_shouldCompile |
|
protected |
◆ _source
| SbString SoGLShaderObject::_source |
|
protected |
◆ _version
| int SoGLShaderObject::_version |
|
protected |
The documentation for this class was generated from the following file: