Developer Documentation
SSAOPlugin::ViewerResources Struct Reference

Public Attributes

unsigned int glWidth_ = 0
 viewer window width
 
unsigned int glHeight_ = 0
 viewer window height
 
unsigned int rtSceneWidth_ = 0
 scene render target width
 
unsigned int rtSceneHeight_ = 0
 scene render target height
 
unsigned int rtWidth_ = 0
 render target width
 
unsigned int rtHeight_ = 0
 render target height
 
unsigned int rtDownWidth_ = 0
 downsampled rt width
 
unsigned int rtDownHeight_ = 0
 downsampled rt height
 
GLuint depthBufTex_ = 0
 depth buffer render target
 
GLuint sceneNormalTex_ = 0
 
GLuint depthSSAORenderBuf_ = 0
 depth renderbuffer for ssaoFbo
 
GLuint depthSceneRenderBuf_ = 0
 depth renderbuffer for sceneFbo
 
GLuint sceneBufTex_ = 0
 standard scene without a render target
 
GLuint downsampledTex_ = 0
 downsampled depth render target
 
GLuint downsampledTmpTex_ = 0
 downsampled temp rt for intermediate results
 
GLuint occlusionTex_ = 0
 occlusion render target
 
GLuint sceneFbo_ = 0
 
GLuint ssaoFbo_ = 0
 
GLuint blurFbo_ = 0
 

Detailed Description

Definition at line 127 of file SSAO.hh.

Member Data Documentation

◆ blurFbo_

GLuint SSAOPlugin::ViewerResources::blurFbo_ = 0

blurFbo for downsampling and gaussian blur filter attachment order: downsampled, downsampledTmp, occlusion

Definition at line 187 of file SSAO.hh.

◆ sceneFbo_

GLuint SSAOPlugin::ViewerResources::sceneFbo_ = 0

sceneFbo for scene color rendering only (seperated for multisampling) attachment order: only scene color texture

Definition at line 179 of file SSAO.hh.

◆ sceneNormalTex_

GLuint SSAOPlugin::ViewerResources::sceneNormalTex_ = 0

scene normal buffer render target R8G8B8 format

Definition at line 157 of file SSAO.hh.

◆ ssaoFbo_

GLuint SSAOPlugin::ViewerResources::ssaoFbo_ = 0

ssaoFbo for deferred rendering attachment order: depth, normal, occlusion

Definition at line 183 of file SSAO.hh.


The documentation for this struct was generated from the following file: