Lumenarium/src_v2/editor/lumenarium_editor_renderer.cpp

22 lines
560 B
C++

internal void
edr_render_begin(App_State* state)
{
Platform_Graphics_Frame_Desc desc = {};
desc.clear_color = { 0.1f, 0.1f, 0.1f, 1 };
desc.viewport_min = { 0, 0 };
desc.viewport_max = state->editor->window_dim;
platform_frame_begin(desc);
platform_frame_clear();
}
internal void
edr_render(App_State* state)
{
#if 0
platform_geometry_bind(state->editor->renderer.geo);
platform_texture_bind(state->editor->ui.atlas_texture);
platform_shader_bind(state->editor->renderer.shd);
platform_geometry_draw(state->editor->renderer.geo);
#endif
}