Files
MacroLibX/runtime/Includes/Core/Graphics.inl
2025-03-13 00:39:01 +01:00

17 lines
352 B
C++

#pragma once
#include <Core/Graphics.h>
namespace mlx
{
void GraphicsSupport::TryEraseSpritesInScene(NonOwningPtr<Texture> texture) noexcept
{
MLX_PROFILE_FUNCTION();
p_scene->TryEraseSpriteFromTexture(texture);
}
void GraphicsSupport::AddPreRenderHook(void(*f)(VkCommandBuffer, void*), void* param)
{
m_hooks.emplace_back(f, param);
}
}