8#ifndef GRAPHICS_GFBO_H_
9#define GRAPHICS_GFBO_H_
20 void allocate(
int width,
int height,
bool isDepthMap =
false,
bool useDepthTexture =
false);
32 void draw(
int x,
int y,
int w,
int h);
33 void draw(
int x,
int y,
int w,
int h,
float rotate);
34 void draw(glm::vec2 position, glm::vec2 size,
float rotate = 0.0f);
36 void drawSub(
int x,
int y,
int sx,
int sy,
int sw,
int sh);
37 void drawSub(
int x,
int y,
int w,
int h,
int sx,
int sy,
int sw,
int sh);
38 void drawSub(
int x,
int y,
int w,
int h,
int sx,
int sy,
int sw,
int sh,
float rotate);
39 void drawSub(glm::vec2 pos, glm::vec2 size, glm::vec2 subpos, glm::vec2 subsize,
float rotate = 0.0f);
45 unsigned int framebuffer;
unsigned int getDepthTextureId() const
unsigned int getId() const
void draw(int x, int y, int w, int h, float rotate)
unsigned int getTextureId() const
void allocate(int width, int height, bool isDepthMap=false, bool useDepthTexture=false)
void drawSub(int x, int y, int sx, int sy, int sw, int sh)
void draw(glm::vec2 position, glm::vec2 size, float rotate=0.0f)
void drawSub(int x, int y, int w, int h, int sx, int sy, int sw, int sh, float rotate)
void drawSub(const gRect &src, const gRect &dst, float rotate=0.f)
static int defaultfbo
Definition gFbo.h:42
void draw(int x, int y, int w, int h)
void drawSub(glm::vec2 pos, glm::vec2 size, glm::vec2 subpos, glm::vec2 subsize, float rotate=0.0f)
void drawSub(int x, int y, int w, int h, int sx, int sy, int sw, int sh)
Definition gRenderObject.h:25