20 #ifndef __POST_PROCESSOR_H__ 
   21 #define __POST_PROCESSOR_H__ 
   52     bool loadShader(
const char* vertShad, 
const char* fragShad);
 
   60     bool loadShaderFile(
const char* vertShad, 
const char* fragShad);
 
   66     void updateResolution();
 
   78     void addFloatUniform(
const char* name);
 
   85     void setFloatUniformValue(
const char* name, 
float value);
 
   92     float getFloatUniformValue(
int idx);
 
   98     void addIntUniform(
const char* name);
 
  105     void setIntUniformValue(
const char* name, 
float value);
 
  112     int getIntUniformValue(
int idx);
 
  126     const char* getUniformName(
int idx);
 
  158     void setShaderPath(
const char* vertPath, 
const char* fragPath);
 
  181     void set2D(
unsigned int w, 
unsigned int h);
 
unsigned int m_vertShad
Definition: PostProcessor.h:192
 
String m_vertShadPath
Definition: PostProcessor.h:197
 
const char * getFragmentShader()
Definition: PostProcessor.h:149
 
void setResolutionMultiplier(float res)
Sets the current resolution multiplier. 
Definition: PostProcessor.h:178
 
float getResolutionMultiplier()
Definition: PostProcessor.h:168
 
Definition: PostProcessor.h:200
 
int getFX()
Definition: PostProcessor.h:163
 
int value
Definition: PostProcessor.h:220
 
unsigned int m_fx
Definition: PostProcessor.h:190
 
unsigned int m_DepthTexID
Definition: PostProcessor.h:188
 
bool dirty
Definition: PostProcessor.h:219
 
Implements a framework for string manipulation that operates directly on C strings. 
Definition: NeoString.h:35
 
vector< uintptr_t > m_UniformList
Definition: PostProcessor.h:223
 
const char * getVertexShader()
Definition: PostProcessor.h:144
 
unsigned int m_ColourTexID
Definition: PostProcessor.h:187
 
int m_Resolution
Definition: PostProcessor.h:194
 
NeoVariable variable
Definition: PostProcessor.h:217
 
unsigned int m_fragShad
Definition: PostProcessor.h:191
 
Definition: PostProcessor.h:207
 
unsigned int m_BufferID
Definition: PostProcessor.h:186
 
Definition: PostProcessor.h:215
 
The MPostProcessor class contains functionality used to render the current scene to a texture to allo...
Definition: PostProcessor.h:33
 
int getNumUniforms()
Returns the number of currently registered uniform variables. Increases whenever one of the "add*Unif...
Definition: PostProcessor.h:119
 
bool dirty
Definition: PostProcessor.h:211
 
NeoVariable variable
Definition: PostProcessor.h:209
 
NeoVariable variable
Definition: PostProcessor.h:202
 
float m_ResolutionMultiplier
Definition: PostProcessor.h:195
 
float value
Definition: PostProcessor.h:212
 
bool dirty
Definition: PostProcessor.h:204
 
The NeoVariable class defines a variable that can be of any type available in M_VARIABLE_TYPE. 
Definition: PointerVariable.h:55
 
String m_fragShadPath
Definition: PostProcessor.h:198
 
M_VARIABLE_TYPE
The M_VARIABLE_TYPE enum defines all types that are storable in an MVariable object. 
Definition: PointerVariable.h:35