New batching structure base files.
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
using System;
|
||||
namespace RecrownedGTK.Graphics.Render {
|
||||
public class TextureBatch {
|
||||
private bool begun;
|
||||
public TextureBatch() {
|
||||
//TODO Finish batch.
|
||||
}
|
||||
public void Begin() {
|
||||
if (begun) throw new InvalidOperationException("This batch has already been started.");
|
||||
begun = true;
|
||||
}
|
||||
public void End() {
|
||||
if (!begun) throw new InvalidOperationException("The batch has not begun.");
|
||||
begun = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user