Move placement of script enviroment data to base.
diff --git a/libs/rs/rsScript.h b/libs/rs/rsScript.h
index 0229860..efe52ad 100644
--- a/libs/rs/rsScript.h
+++ b/libs/rs/rsScript.h
@@ -33,13 +33,19 @@
     virtual ~Script();
 
 
-    bool mIsRoot;
-    bool mIsOrtho;
+    struct Enviroment_t {
+        bool mIsRoot;
+        bool mIsOrtho;
+        float mClearColor[4];
+        float mClearDepth;
+        uint32_t mClearStencil;
 
-    float mClearColor[4];
-    float mClearDepth;
-    uint32_t mClearStencil;
-
+        bool mUseStateVertex;
+        bool mUseStateRaster;
+        bool mUseStateFragment;
+        bool mUseStateStore;
+    };
+    Enviroment_t mEnviroment;
 
     const Type * mConstantBufferTypes;
     uint32_t mCounstantBufferCount;