adding hidden bindings

This commit is contained in:
2025-03-13 00:39:01 +01:00
parent 2345cf4417
commit 093dabcbbb
4 changed files with 106 additions and 0 deletions

View File

@@ -8,4 +8,9 @@ namespace mlx
MLX_PROFILE_FUNCTION();
p_scene->TryEraseSpriteFromTexture(texture);
}
void GraphicsSupport::AddPreRenderHook(void(*f)(VkCommandBuffer, void*), void* param)
{
m_hooks.emplace_back(f, param);
}
}