Renderer

Undocumented in source.

Members

Functions

begin_build_level
auto begin_build_level()
Undocumented in source. Be warned that the author may not have intended to support it.
end_build_level
auto end_build_level(float x, float y, float z)
Undocumented in source. Be warned that the author may not have intended to support it.
push_block
auto push_block(float x, float z, int tile_top, int tile_sites)
Undocumented in source. Be warned that the author may not have intended to support it.
push_floor
auto push_floor(float x, float z, int tile)
Undocumented in source. Be warned that the author may not have intended to support it.
push_light
auto push_light(float x, float y, float z, float r, float g, float b, float falloff)
Undocumented in source. Be warned that the author may not have intended to support it.
push_quad
auto push_quad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4, float nx, float ny, float nz, int tile)
Undocumented in source. Be warned that the author may not have intended to support it.
push_sprite
auto push_sprite(float x, float y, float z, int tile)
Undocumented in source. Be warned that the author may not have intended to support it.
renderer_bind_image
void renderer_bind_image(Handle image)
Undocumented in source. Be warned that the author may not have intended to support it.
renderer_end_frame
auto renderer_end_frame()
Undocumented in source. Be warned that the author may not have intended to support it.
renderer_init
auto renderer_init(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
renderer_prepare_frame
auto renderer_prepare_frame()
Undocumented in source. Be warned that the author may not have intended to support it.
update_camera
auto update_camera(Player player)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

buffer_data
float[] buffer_data;
Undocumented in source.
camera_uniform
GLint camera_uniform;
Undocumented in source.
camera_x
GLfloat camera_x;
camera_y
GLfloat camera_y;
camera_z
GLfloat camera_z;
Undocumented in source.
fragment_shader
string fragment_shader;
Undocumented in source.
level_num_verts
GLuint level_num_verts;
Undocumented in source.
light_data
float[] light_data;
Undocumented in source.
light_uniform
GLint light_uniform;
Undocumented in source.
num_lights
GLint num_lights;
Undocumented in source.
num_verts
GLuint num_verts;
Undocumented in source.
px_nudge
GLfloat px_nudge;
Undocumented in source.
shader_attribute_vec
string shader_attribute_vec;
Undocumented in source.
shader_const_mat4
string shader_const_mat4;
Undocumented in source.
shader_program
GLuint shader_program;
Undocumented in source.
shader_uniform
string shader_uniform;
Undocumented in source.
shader_varying
string shader_varying;
Undocumented in source.
texture_size
GLuint texture_size;
Undocumented in source.
tile_fraction
GLfloat tile_fraction;
Undocumented in source.
tile_size
GLuint tile_size;
Undocumented in source.
vertex_buffer
GLuint vertex_buffer;
Undocumented in source.
vertex_shader
string vertex_shader;
Undocumented in source.

Meta