libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
|
#include <moTextFilterParam.h>
Public Member Functions | |
moTextFilterParam () | |
virtual | ~moTextFilterParam () |
moTextFilterParam (const moTextFilterParam &p_src) | |
const moTextFilterParam & | operator= (const moTextFilterParam &p_src) |
void | getParamIDs (void *p_shader) |
void | setParamValues () |
void | CopyDefParamIDs (moTextFilterParam *p_params) |
Public Attributes | |
MOfloat | par_flt1 |
MOfloat | par_flt2 |
MOfloat | par_flt3 |
MOfloat | par_mat2 [4] |
MOfloat | par_mat3 [9] |
MOfloat | par_mat4 [16] |
GLint | m_par_flt1 |
GLint | m_par_flt2 |
GLint | m_par_flt3 |
GLint | m_par_mat2 |
GLint | m_par_mat3 |
GLint | m_par_mat4 |
Esta clase almacena los parámetros de un filtro. Hay 6 parámetros pre-definidos: tres números flotsntes, y tres matrices (2x2, 3x3 and 4x4). Estos parámetros deben corresponder a los parámetros uniformes definidos en el código del shader.
Definition at line 12 of file moTextFilterParam.h.
|
inline |
Constructor por defecto.
Definition at line 18 of file moTextFilterParam.h.
|
inlinevirtual |
Destructor por defecto.
Definition at line 32 of file moTextFilterParam.h.
|
inline |
Definition at line 36 of file moTextFilterParam.h.
|
inline |
Copia los IDs de los parámetros uniformes a params.
p_params | puntero a los parámetros donde se copiarán los IDs. |
Definition at line 73 of file moTextFilterParam.h.
void moTextFilterParam::getParamIDs | ( | void * | p_shader | ) |
Obtiene los OpenGL IDs de los parámetros uniformes en el shader que corresponden a los parámetros almacenados en esta clase.
p_glsl | puntero al shader. |
Definition at line 6 of file moTextFilterParam.cpp.
|
inline |
Definition at line 40 of file moTextFilterParam.h.
void moTextFilterParam::setParamValues | ( | ) |
Determina los valores de los parámetros uniformes.
Definition at line 27 of file moTextFilterParam.cpp.
GLint moTextFilterParam::m_par_flt1 |
Definition at line 96 of file moTextFilterParam.h.
GLint moTextFilterParam::m_par_flt2 |
Definition at line 96 of file moTextFilterParam.h.
GLint moTextFilterParam::m_par_flt3 |
Definition at line 96 of file moTextFilterParam.h.
GLint moTextFilterParam::m_par_mat2 |
Definition at line 97 of file moTextFilterParam.h.
GLint moTextFilterParam::m_par_mat3 |
Definition at line 97 of file moTextFilterParam.h.
GLint moTextFilterParam::m_par_mat4 |
Definition at line 97 of file moTextFilterParam.h.
MOfloat moTextFilterParam::par_flt1 |
Definition at line 88 of file moTextFilterParam.h.
MOfloat moTextFilterParam::par_flt2 |
Definition at line 89 of file moTextFilterParam.h.
MOfloat moTextFilterParam::par_flt3 |
Definition at line 90 of file moTextFilterParam.h.
MOfloat moTextFilterParam::par_mat2[4] |
Definition at line 92 of file moTextFilterParam.h.
MOfloat moTextFilterParam::par_mat3[9] |
Definition at line 93 of file moTextFilterParam.h.
MOfloat moTextFilterParam::par_mat4[16] |
Definition at line 94 of file moTextFilterParam.h.