41 std::unique_ptr<C4Surface> pSurface, pBackSurface;
46 GLuint hFrameBufDraw, hFrameBufRead;
69 bool BindFramebuf(GLuint prev_fb);
GLuint getSurfaceName() const
int32_t getSurfaceHeight() const
const C4Rect & getRegion() const
const C4FoW * getFoW() const
C4FoWRegion(C4FoW *pFoW, C4Player *pPlayer)
void Update(C4Rect r, const FLOAT_RECT &vp)
const FLOAT_RECT & getViewportRegion() const
int32_t getSurfaceWidth() const
void GetFragTransform(const C4Rect &clipRect, const C4Rect &outRect, float lightTransform[6]) const
bool Render(const C4TargetFacet *pOnScreen=nullptr)