Implement sprite batcher.