module charge.gfx.helpers
Helper classes to keep track of framebuffers and blit textures.
Code Map
//! Helper classes to keep track of framebuffers and blit textures.
module charge.gfx.helpers;
struct FramebufferResizer
{
public:
fbo: Framebuffer;
public:
fn close() { }
fn bind(t: Target, width: u32, height: u32) { }
fn unbind(t: Target) { }
fn setupFramebuffer(t: Target, width: u32, height: u32) { }
fn color() Texture { }
}
struct TextureBlitter
{
public:
fn close() { }
fn blit(t: Target, texture: Texture, x: i32, y: i32) { }
fn updateVBO(x: i32, y: i32, w: u32, h: u32) { }
}