Green Rock Engine 0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
GREngine.Core.PebbleRenderer.BlurPostProcess Class Reference

A very fast blur effect that leverages fixed function gpu texture sampling to blur with a large kernel efficiently input gets downsampled to size/2^passes and upsampled again. More...

Inheritance diagram for GREngine.Core.PebbleRenderer.BlurPostProcess:
Inheritance graph
[legend]
Collaboration diagram for GREngine.Core.PebbleRenderer.BlurPostProcess:
Collaboration graph
[legend]

Public Member Functions

 BlurPostProcess (Game game, int width, int height, int passes, float scale)
 
override void applyPostProcess (RenderTarget2D bufferIn, RenderTarget2D bufferOut, SpriteBatch spriteBatch)
 
- Public Member Functions inherited from GREngine.Core.PebbleRenderer.PostProcess
 PostProcess (Game game, Effect? shader=null)
 
virtual void SetAllParams ()
 

Additional Inherited Members

- Public Attributes inherited from GREngine.Core.PebbleRenderer.PostProcess
Dictionary< string, float > attributes
 
Effect? shader
 

Detailed Description

A very fast blur effect that leverages fixed function gpu texture sampling to blur with a large kernel efficiently input gets downsampled to size/2^passes and upsampled again.

Member Function Documentation

◆ applyPostProcess()

override void GREngine.Core.PebbleRenderer.BlurPostProcess.applyPostProcess ( RenderTarget2D  bufferIn,
RenderTarget2D  bufferOut,
SpriteBatch  spriteBatch 
)
inlinevirtual

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