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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moTextFilterParam Class Reference

#include <moTextFilterParam.h>

Public Member Functions

 moTextFilterParam ()
 
virtual ~moTextFilterParam ()
 
 moTextFilterParam (const moTextFilterParam &p_src)
 
const moTextFilterParamoperator= (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
 

Detailed Description

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.

Constructor & Destructor Documentation

moTextFilterParam::moTextFilterParam ( )
inline

Constructor por defecto.

Definition at line 18 of file moTextFilterParam.h.

virtual moTextFilterParam::~moTextFilterParam ( )
inlinevirtual

Destructor por defecto.

Definition at line 32 of file moTextFilterParam.h.

moTextFilterParam::moTextFilterParam ( const moTextFilterParam p_src)
inline

Definition at line 36 of file moTextFilterParam.h.

Member Function Documentation

void moTextFilterParam::CopyDefParamIDs ( moTextFilterParam p_params)
inline

Copia los IDs de los parámetros uniformes a params.

Parameters
p_paramspuntero 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.

Parameters
p_glslpuntero al shader.

Definition at line 6 of file moTextFilterParam.cpp.

const moTextFilterParam& moTextFilterParam::operator= ( const moTextFilterParam p_src)
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.

Member Data Documentation

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.


The documentation for this class was generated from the following files: