public TPState() { //set default viewport to entire window viewportBounds = TPEngine.Get().GameRef.GraphicsDevice.Viewport; layers = new TPLayerList(); m_DefaultLayer = new TPLayer(layers); //m_DrawLayer = new TPLayer(layers); UseRenderTarget = false; }
public TPLayer(TPLayerList layers) { layers.Add(this); }