Another restructure with code updates.
Updated RectTextrue.cs, VertexInformation.cs, and IDrawable.cs to properly pass indice information.
This commit is contained in:
12
RecrownedGTK/Graphics/Render/IDrawable.cs
Normal file
12
RecrownedGTK/Graphics/Render/IDrawable.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using OpenTK;
|
||||
namespace RecrownedGTK.Graphics.Render {
|
||||
public interface IDrawable
|
||||
{
|
||||
/// <summary>
|
||||
/// Fills the parameters with the information needed to draw this texture.
|
||||
/// </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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user