Bitmaps

r_framebuffer_allocate

uint r_framebuffer_allocate(boolean multilayer, uint *buffers, uint buffer_count, uint depth_buffer);

r_framebuffer_free

void r_framebuffer_free(uint fbo);

r_framebuffer_bind

void r_framebuffer_bind(uint id, uint buffers);

r_texture_allocate

uint r_texture_allocate(PImageFormat format, uint x, uint y, uint z, boolean filter, boolean tile, void *data);

Types:

Enum:

PImageFormat

R_IF_RGB_UINT8

R_IF_RGBA_UINT8

R_IF_RGB_FLOAT16

R_IF_RGBA_FLOAT16

R_IF_RGB_FLOAT32

R_IF_RGBA_FLOAT32

R_IF_DEPTH16

R_IF_DEPTH24

R_IF_DEPTH32

R_IF_DEPTH24_STENCIL8

r_texture_free

void r_texture_free(uint texture_id);