renderer.sdl2.gl11

Undocumented in source.

Members

Enums

ATLAS_WHITE
anonymousenum ATLAS_WHITE
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ATLAS_WIDTH
anonymousenum ATLAS_WIDTH
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

destroy_renderer
void destroy_renderer()
Undocumented in source. Be warned that the author may not have intended to support it.
flush
void flush()
Undocumented in source. Be warned that the author may not have intended to support it.
initiate_renderer
void initiate_renderer()
Undocumented in source. Be warned that the author may not have intended to support it.
push_quad
void push_quad(mu_Rect dst, mu_Rect src, mu_Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
r_clear
void r_clear(mu_Color clr)
Undocumented in source. Be warned that the author may not have intended to support it.
r_draw_icon
void r_draw_icon(int id, mu_Rect rect, mu_Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
r_draw_rect
void r_draw_rect(mu_Rect rect, mu_Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
r_draw_text
void r_draw_text(const(char)* text, mu_Vec2 pos, mu_Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
r_get_text_height
int r_get_text_height()
Undocumented in source. Be warned that the author may not have intended to support it.
r_get_text_width
int r_get_text_width(const(char)* text, int len)
Undocumented in source. Be warned that the author may not have intended to support it.
r_present
void r_present()
Undocumented in source. Be warned that the author may not have intended to support it.
r_set_clip_rect
void r_set_clip_rect(mu_Rect rect)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

BUFFER_SIZE
enum BUFFER_SIZE;

Maximum number of items in memory.

CONFIGURATION
enum CONFIGURATION;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Static variables

buf_idx
int buf_idx;

Rectangle buffer index

color_buf
GLubyte[BUFFER_SIZE * 16] color_buf;

Color buffer

index_buf
GLuint[BUFFER_SIZE * 6] index_buf;

Index buffer

tex_buf
GLfloat[BUFFER_SIZE * 8] tex_buf;

Texture buffer

vert_buf
GLfloat[BUFFER_SIZE * 8] vert_buf;

Vertex buffer

Variables

atlas
mu_Rect[] atlas;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
atlas_texture
ubyte[ATLAS_WIDTH * ATLAS_HEIGHT] atlas_texture;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta