Graphics class that represents the pass for bloom in deferred rendering.  
 More...
 | 
| 
RenderStates  | m_bloomStates | 
|   | 
| 
RenderTexture  | m_bloomRTT | 
|   | 
| 
ShaderRef  | m_bloomBrightShader | 
|   | 
| 
ShaderRef  | m_bloomFinalShader | 
|   | 
| 
ShaderRef  | m_gaussianBlurShader | 
|   | 
| 
TextureRef  | m_bloomTextures [2] | 
|   | 
| 
TextureSampler  | m_bilinearSampler | 
|   | 
| 
bool  | m_uniformUpdated | 
|   | 
| 
float  | m_brightLuminance | 
|   | 
| 
float  | m_brightMiddleGrey | 
|   | 
| 
float  | m_brightThreshold | 
|   | 
| 
int  | m_gaussianBlurShaderFilterLocation | 
|   | 
| 
unsigned int  | m_blurPassCount | 
|   | 
| 
Vector2ui  | m_dimensions | 
|   | 
| 
DeferredRenderTechnique *  | m_deferredTechnique | 
|   | 
| 
DeferredRenderQueue *  | m_renderQueue | 
|   | 
| 
RenderTexture *  | m_GBufferRTT | 
|   | 
| 
RenderTexture *  | m_workRTT | 
|   | 
| 
Texture *  | m_depthStencilTexture | 
|   | 
| 
Texture *  | m_GBuffer [4] | 
|   | 
| 
Texture *  | m_workTextures [2] | 
|   | 
Graphics class that represents the pass for bloom in deferred rendering. 
 
◆ GetBlurPassCount()
      
        
          | unsigned int Nz::DeferredBloomPass::GetBlurPassCount  | 
          ( | 
           | ) | 
           const | 
        
      
 
Gets the number of pass for blur. 
- Returns
 - Number of pass for blur 
 
 
 
◆ GetBrightLuminance()
      
        
          | float Nz::DeferredBloomPass::GetBrightLuminance  | 
          ( | 
           | ) | 
           const | 
        
      
 
Gets the coefficiant for luminosity. 
- Returns
 - Luminosity of bright elements 
 
 
 
◆ GetBrightMiddleGrey()
      
        
          | float Nz::DeferredBloomPass::GetBrightMiddleGrey  | 
          ( | 
           | ) | 
           const | 
        
      
 
Gets the coefficiant for the middle grey. 
- Returns
 - Luminosity of grey elements 
 
 
 
◆ GetBrightThreshold()
      
        
          | float Nz::DeferredBloomPass::GetBrightThreshold  | 
          ( | 
           | ) | 
           const | 
        
      
 
Gets the coefficiant for things to be bright. 
- Returns
 - Threshold for bright elements 
 
 
 
◆ GetTexture()
      
        
          | Texture * Nz::DeferredBloomPass::GetTexture  | 
          ( | 
          unsigned int  | 
          i | ) | 
           const | 
        
      
 
Gets the ith texture. 
- Returns
 - Texture computed
 
- Parameters
 - 
  
  
 
 
 
◆ Process()
  
  
      
        
          | bool Nz::DeferredBloomPass::Process  | 
          ( | 
          const SceneData &  | 
          sceneData,  | 
         
        
           | 
           | 
          unsigned int  | 
          firstWorkTexture,  | 
         
        
           | 
           | 
          unsigned int  | 
          secondWorkTexture  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
overridevirtual   | 
  
 
Processes the work on the data while working with textures. 
- Returns
 - true
 
- Parameters
 - 
  
    | sceneData | Data for the scene  | 
    | firstWorkTexture | Index of the first texture to work with  | 
    | firstWorkTexture | Index of the second texture to work with  | 
  
   
Implements Nz::DeferredRenderPass.
 
 
◆ Resize()
  
  
      
        
          | bool Nz::DeferredBloomPass::Resize  | 
          ( | 
          const Vector2ui &  | 
          dimensions | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Resizes the texture sizes. 
- Returns
 - true If successful
 
- Parameters
 - 
  
    | dimensions | Dimensions for the compute texture  | 
  
   
Reimplemented from Nz::DeferredRenderPass.
 
 
◆ SetBlurPassCount()
      
        
          | void Nz::DeferredBloomPass::SetBlurPassCount  | 
          ( | 
          unsigned int  | 
          passCount | ) | 
           | 
        
      
 
Sets the number of pass for blur. 
- Parameters
 - 
  
    | passCount | Number of pass for blur  | 
  
   
 
 
◆ SetBrightLuminance()
      
        
          | void Nz::DeferredBloomPass::SetBrightLuminance  | 
          ( | 
          float  | 
          luminance | ) | 
           | 
        
      
 
Sets the coefficiant for luminosity. 
- Parameters
 - 
  
    | luminance | Luminosity of bright elements  | 
  
   
 
 
◆ SetBrightMiddleGrey()
      
        
          | void Nz::DeferredBloomPass::SetBrightMiddleGrey  | 
          ( | 
          float  | 
          middleGrey | ) | 
           | 
        
      
 
Sets the coefficiant for the middle grey. 
- Parameters
 - 
  
    | middleGrey | Luminosity of grey elements  | 
  
   
 
 
◆ SetBrightThreshold()
      
        
          | void Nz::DeferredBloomPass::SetBrightThreshold  | 
          ( | 
          float  | 
          threshold | ) | 
           | 
        
      
 
Sets the coefficiant for things to be bright. 
- Parameters
 - 
  
    | threshold | Threshold for bright elements  | 
  
   
 
 
The documentation for this class was generated from the following files: