MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / render_clear

Function render_clear

StereoKitC/systems/render.cpp:959–966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

957///////////////////////////////////////////
958
959void render_clear() {
960 //log_infof("draws: %d, instances: %d, material: %d, shader: %d, texture %d, mesh %d", render_stats.draw_calls, render_stats.draw_instances, render_stats.swaps_material, render_stats.swaps_shader, render_stats.swaps_texture, render_stats.swaps_mesh);
961 render_list_clear(local.list_active);
962
963 local.last_material = nullptr;
964 local.last_shader = nullptr;
965 local.last_mesh = nullptr;
966}
967
968///////////////////////////////////////////
969

Callers 2

render_pipeline_drawFunction · 0.85
openxr_step_endFunction · 0.85

Calls 1

render_list_clearFunction · 0.85

Tested by

no test coverage detected