void MakeBatch() { if (!isBatch) { batch = new LTextureBatch(this); isBatch = true; LoadTexture(); } }
void FreeBatch() { if (isBatch) { if (batch != null) { batch.Dispose(); batch = null; isBatch = false; } } }