Пример #1
0
        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;
        }
Пример #2
0
        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;
        }
Пример #3
0
 public TPLayer(TPLayerList layers)
 {
     layers.Add(this);
 }
Пример #4
0
 public TPLayer(TPLayerList layers)
 {
     layers.Add(this);
 }