| 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 | { |