2020-02-20 14:49:36 -05:00
|
|
|
using OpenTK;
|
2020-02-20 16:33:45 -05:00
|
|
|
namespace RecrownedGTK.Graphics.Render {
|
2020-02-20 04:18:50 -05:00
|
|
|
public interface IDrawable
|
|
|
|
{
|
2020-02-20 14:49:36 -05:00
|
|
|
/// <summary>
|
2020-02-20 18:07:17 -05:00
|
|
|
/// Fills the parameters with the information needed to draw this texture.
|
2020-02-20 14:49:36 -05: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>
|
2020-02-20 18:07:17 -05:00
|
|
|
void Draw(out VertexInformation[] vertices, out uint[] indices, out TextureData textureData);
|
2020-02-20 04:18:50 -05:00
|
|
|
}
|
|
|
|
}
|