singleton instance access . concode_field_sep GenericManager<CgGlslShader> shaderInstance concode_elem_sep GenericManager<CgTexture> textureInstance concode_field_sep GenericManager<CgTexture> getTextureManagerInstance concode_elem_sep void createDefaultShaders concode_elem_sep void createDefaultTextures
GenericManager < CgGlslShader > function ( ) { if ( shaderInstance == null ) { shaderInstance = new GenericManager < CgGlslShader > ( ) ; createDefaultShaders ( ) ; } return shaderInstance ; }