private RenderBank <VertexPositionNormalTexture> GetBank(string imageName) { if (!_workingBanks.ContainsKey(imageName)) { _workingBanks[imageName] = new RenderBank <VertexPositionNormalTexture>(); } return(_workingBanks[imageName]); }
public static void Initialize(GraphicsDevice device) { _device = device; _rectangles = new RenderBank <VertexPositionColorTexture>(); _rectanglesFilled = new RenderBank <VertexPositionColorTexture>(); _rectangleEffect = new BasicEffect(_device); FontManager.Initialize(device); }