Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 221 vs 259 for /trunk/Source Code/Rendering/PostFX/CustomOperators/Headers/BloomPreRenderOperator.h

Diff revisions: vs.
  @@ -25,31 +25,32 @@
25 25
26 26 #include "Rendering/PostFX/Headers/PreRenderOperator.h"
27 27
28 - class ShaderProgram;
29 28 class Quad3D;
30 29 class Texture;
30 + class FrameBuffer;
31 + class ShaderProgram;
31 32 typedef Texture Texture2D;
32 - class FrameBufferObject;
33 +
33 34 class BloomPreRenderOperator : public PreRenderOperator {
34 35 public:
35 - BloomPreRenderOperator(Quad3D* const target, FrameBufferObject* result, const vec2<U16>& resolution, SamplerDescriptor* const sampler);
36 + BloomPreRenderOperator(Quad3D* const target, FrameBuffer* result, const vec2<U16>& resolution, SamplerDescriptor* const sampler);
36 37 ~BloomPreRenderOperator();
37 38
38 39 void operation();
39 40 void reshape(I32 width, I32 height);
40 41
41 42 protected:
42 - // tone maps _inputFBO[0] converting it from HDR to LDR
43 + // tone maps _inputFB[0] converting it from HDR to LDR
43 44 void toneMapScreen();
44 45
45 46 private:
46 47 ShaderProgram* _blur;
47 48 ShaderProgram* _bright;
48 - FrameBufferObject* _outputFBO;
49 - FrameBufferObject* _tempBloomFBO;
50 - FrameBufferObject* _tempHDRFBO;
51 - FrameBufferObject* _luminaFBO[2];
52 - U32 _luminaMipLevel;
49 + FrameBuffer* _outputFB;
50 + FrameBuffer* _tempBloomFB;
51 + FrameBuffer* _tempHDRFB;
52 + FrameBuffer* _luminaFB[2];
53 + U32 _luminaMipLevel;
53 54 };
54 55
55 56 #endif