Download Tutorial C Files H Files

dg_framebuffer_t

Grid of pixels.

H File

typedef struct dg_framebuffer
{
    sfUint8 *pixels;
    int width;
    int height;
    sfSprite *sp;
    unsigned int thickness;
    unsigned int border;
} dg_framebuffer_t;