recrownedgtk/RecrownedGTK/Graphics/Render/IDrawable.cs

12 lines
524 B
C#
Raw Normal View History

2020-02-20 19:49:36 +00:00
using OpenTK;
namespace RecrownedGTK.Graphics.Render {
public interface IDrawable
{
2020-02-20 19:49:36 +00:00
/// <summary>
/// Fills the parameters with the information needed to draw this texture.
2020-02-20 19:49:36 +00:00
/// </summary>
/// <param name="vertices">The vertices in pairs of 3 normalized in the order x, y, and z.</param>
/// <param name="textureData">The texture data to be used. Can be null.</param>
void Draw(out VertexInformation[] vertices, out uint[] indices, out TextureData textureData);
}
}