46 int Width()
const {
return m_w; }
48 bool IsValid()
const {
return m_fbo != 0; }
Offscreen FBO with MRT colour + sampleable depth for low-resolution rendering.
static void BindDefault(int winW, int winH)
bool Create(int w, int h)
void Resize(int w, int h)
BlitMode
Blit modes for BlitNearest.
@ SplatRed
Output (r,r,r,1) — used for visualising depth.
@ DecodeNrm
Output rgb as-is from a packed-normal texture (no remap).
@ Color
Sample RGB straight through (default).
void BlitNearest(GLuint srcTexture, int dstW, int dstH, BlitMode mode)