/
EugenyCh7
/
Puppet2D.Net
Обзор
Документация
Войти
/
EugenyCh7
/
Puppet2D.Net
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Puppet2D.Graphics/IDrawable.cs
18 строк
614 B
EugenyCh7
comments fix
24 июл 2025, 22:54
24 июл 2025, 22:54
421ed1f
Код
Авторство
О чём код?
namespace Puppet2D.Graphics { /// <summary> /// Interface for every object that can be drawn to a render window /// </summary> public interface IDrawable { /// <summary> /// Draw the object to a render target /// /// This is a function that has to be implemented by the /// derived class to define how the drawable should be drawn. /// </summary> /// <param name="target">Render target to draw to</param> /// <param name="states">Current render states</param> void Draw(IRenderTarget target, RenderStates states); } }