Pyrogenesis  trunk
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
CPostprocManager Class Reference

#include <PostprocManager.h>

Collaboration diagram for CPostprocManager:
Collaboration graph
[legend]

Public Member Functions

 CPostprocManager ()
 
 ~CPostprocManager ()
 
void Initialize ()
 
void Resize ()
 
const CStrW & GetPostEffect () const
 
void SetPostEffect (const CStrW &name)
 
void CaptureRenderOutput ()
 
void ApplyPostproc ()
 
void ReleaseRenderOutput ()
 

Static Public Member Functions

static std::vector< CStrW > GetPostEffects ()
 

Private Member Functions

void ApplyBlur ()
 
void ApplyBlurDownscale2x (GLuint inTex, GLuint outTex, int inWidth, int inHeight)
 
void ApplyBlurGauss (GLuint inOutTex, GLuint tempTex, int inWidth, int inHeight)
 
void ApplyEffect (CShaderTechniquePtr &shaderTech1, int pass)
 
void Cleanup ()
 
void RecreateBuffers ()
 

Private Attributes

GLuint m_PingFbo
 
GLuint m_PongFbo
 
GLuint m_ColorTex1
 
GLuint m_ColorTex2
 
GLuint m_DepthTex
 
GLuint m_BloomFbo
 
GLuint m_BlurTex2a
 
GLuint m_BlurTex2b
 
GLuint m_BlurTex4a
 
GLuint m_BlurTex4b
 
GLuint m_BlurTex8a
 
GLuint m_BlurTex8b
 
bool m_WhichBuffer
 
CStrW m_PostProcEffect
 
CShaderTechniquePtr m_PostProcTech
 
int m_Width
 
int m_Height
 
bool m_IsInitialized
 

Constructor & Destructor Documentation

CPostprocManager::CPostprocManager ( )
CPostprocManager::~CPostprocManager ( )

Member Function Documentation

void CPostprocManager::ApplyBlur ( )
private
void CPostprocManager::ApplyBlurDownscale2x ( GLuint  inTex,
GLuint  outTex,
int  inWidth,
int  inHeight 
)
private
void CPostprocManager::ApplyBlurGauss ( GLuint  inOutTex,
GLuint  tempTex,
int  inWidth,
int  inHeight 
)
private
void CPostprocManager::ApplyEffect ( CShaderTechniquePtr shaderTech1,
int  pass 
)
private
void CPostprocManager::ApplyPostproc ( )
void CPostprocManager::CaptureRenderOutput ( )
void CPostprocManager::Cleanup ( )
private
const CStrW& CPostprocManager::GetPostEffect ( ) const
inline
std::vector< CStrW > CPostprocManager::GetPostEffects ( )
static
void CPostprocManager::Initialize ( )
void CPostprocManager::RecreateBuffers ( )
private
void CPostprocManager::ReleaseRenderOutput ( )
void CPostprocManager::Resize ( )
void CPostprocManager::SetPostEffect ( const CStrW &  name)

Member Data Documentation

GLuint CPostprocManager::m_BloomFbo
private
GLuint CPostprocManager::m_BlurTex2a
private
GLuint CPostprocManager::m_BlurTex2b
private
GLuint CPostprocManager::m_BlurTex4a
private
GLuint CPostprocManager::m_BlurTex4b
private
GLuint CPostprocManager::m_BlurTex8a
private
GLuint CPostprocManager::m_BlurTex8b
private
GLuint CPostprocManager::m_ColorTex1
private
GLuint CPostprocManager::m_ColorTex2
private
GLuint CPostprocManager::m_DepthTex
private
int CPostprocManager::m_Height
private
bool CPostprocManager::m_IsInitialized
private
GLuint CPostprocManager::m_PingFbo
private
GLuint CPostprocManager::m_PongFbo
private
CStrW CPostprocManager::m_PostProcEffect
private
CShaderTechniquePtr CPostprocManager::m_PostProcTech
private
bool CPostprocManager::m_WhichBuffer
private
int CPostprocManager::m_Width
private

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