mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
17 lines
352 B
C++
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);
|
|
}
|
|
}
|