8#ifndef GRAPHICS_POSTEFFECTS_GBLOOM_H_
9#define GRAPHICS_POSTEFFECTS_GBLOOM_H_
16 gBloom(
float intensity = 1.0f,
float bloomsize = 2.0f,
float threshold = 0.8f);
17 gBloom(
float intensity,
float bloomsize,
float threshold, std::vector<std::vector<float>>
rects,
float screenwidth,
float screenheight);
18 gBloom(
float intensity,
float bloomsize,
float rgb[]);
22 void setRect(
int rectnum,
float x,
float y,
float width,
float height);
23 std::vector<std::vector<float>>
rects;
30 bool isrectsset =
false;
const std::string getVertSrc()
const std::string getFragSrc()
void setRect(int rectnum, float x, float y, float width, float height)
gBloom(float intensity, float bloomsize, float rgb[])
std::vector< std::vector< float > > rects
Definition gBloom.h:23
gBloom(float intensity, float bloomsize, float threshold, std::vector< std::vector< float > > rects, float screenwidth, float screenheight)
gBloom(float intensity=1.0f, float bloomsize=2.0f, float threshold=0.8f)