MCPcopy Create free account
hub / github.com/defold/defold / DispatchRenderScriptInstance

Function DispatchRenderScriptInstance

engine/render/src/render/render_script.cpp:3566–3574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3564 }
3565
3566 RenderScriptResult DispatchRenderScriptInstance(HRenderScriptInstance instance)
3567 {
3568 DM_PROFILE("DispatchRSI");
3569 DispatchContext context;
3570 context.m_Instance = instance;
3571 context.m_Result = RENDER_SCRIPT_RESULT_OK;
3572 dmMessage::Dispatch(instance->m_RenderContext->m_Socket, DispatchCallback, (void*)&context);
3573 return context.m_Result;
3574 }
3575
3576 RenderScriptResult UpdateRenderScriptInstance(HRenderScriptInstance instance, float dt)
3577 {

Callers 3

StepFrameFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls 1

DispatchFunction · 0.50

Tested by 2

TEST_FFunction · 0.68
TEST_FFunction · 0.68