Exemplo n.º 1
0
        internal override void Apply()
        {
            // May need to be moved elsewhere within this method
            OnApply();

            GLStateManager.Viewport(Game.Instance.Window.ClientBounds);
            GLStateManager.Projection(Projection);
            GLStateManager.WorldView(World, View);

            base.Apply();

            GLStateManager.Textures2D(Texture != null);

            GLStateManager.ColorArray(VertexColorEnabled);
        }