#include <OpenGLShader.h>
◆ OpenGLShader()
| OpenGLShader::OpenGLShader |
( |
| ) |
|
|
default |
◆ ~OpenGLShader()
| OpenGLShader::~OpenGLShader |
( |
| ) |
|
◆ attribLocation()
| int OpenGLShader::attribLocation |
( |
const char * |
name | ) |
|
◆ isValid()
| bool OpenGLShader::isValid |
( |
| ) |
const |
|
inline |
◆ load() [1/2]
| bool OpenGLShader::load |
( |
const Blob & |
vertSource, |
|
|
const Blob & |
fragSource, |
|
|
bool |
openGLES |
|
) |
| |
◆ load() [2/2]
| bool OpenGLShader::load |
( |
std::string_view |
vertPath, |
|
|
std::string_view |
fragPath, |
|
|
bool |
openGLES |
|
) |
| |
◆ loadShader()
| unsigned OpenGLShader::loadShader |
( |
const Blob & |
source, |
|
|
int |
type, |
|
|
bool |
openGLES |
|
) |
| |
|
private |
◆ release()
| void OpenGLShader::release |
( |
| ) |
|
◆ uniformLocation()
| int OpenGLShader::uniformLocation |
( |
const char * |
name | ) |
|
◆ use()
| void OpenGLShader::use |
( |
| ) |
|
◆ _id
| unsigned OpenGLShader::_id = 0 |
|
private |
The documentation for this class was generated from the following files: