[committed] getters for GLSLShaderObjectsState shader strings

added getters for the fragment and vertex shaders…



Index: src/com/jme/scene/state/GLSLShaderObjectsState.java

===================================================================

— src/com/jme/scene/state/GLSLShaderObjectsState.java (revision 4048)

+++ src/com/jme/scene/state/GLSLShaderObjectsState.java (working copy)

@@ -107,6 +107,22 @@

     protected String vertShader, fragShader;

     

     /

+     * Gets the currently loaded vertex shader.

+     * @return

+     */

+    public     String  getVertexShader() {

+       return vertShader;

+    }

+   

+    /


+     * Gets the currently loaded fragment shader.

+     * @return

+     */

+    public     String  getFragmentShader() {

+       return fragShader;

+    }

+