|
@@ -132,6 +132,9 @@ class ShaderProg: public Resource
|
|
|
static std::string createSrcCodeToCache(const char* sProgFPathName, const char* preAppendedSrcCode,
|
|
static std::string createSrcCodeToCache(const char* sProgFPathName, const char* preAppendedSrcCode,
|
|
|
const char* newFNamePrefix);
|
|
const char* newFNamePrefix);
|
|
|
|
|
|
|
|
|
|
+ /// Reling the program. Used in transform feedback
|
|
|
|
|
+ void relink() const {link();}
|
|
|
|
|
+
|
|
|
//====================================================================================================================
|
|
//====================================================================================================================
|
|
|
// Private =
|
|
// Private =
|
|
|
//====================================================================================================================
|
|
//====================================================================================================================
|
|
@@ -161,7 +164,7 @@ class ShaderProg: public Resource
|
|
|
|
|
|
|
|
/// Link the shader program
|
|
/// Link the shader program
|
|
|
/// @exception Exception
|
|
/// @exception Exception
|
|
|
- void link();
|
|
|
|
|
|
|
+ void link() const;
|
|
|
|
|
|
|
|
/// Resource load
|
|
/// Resource load
|
|
|
void load(const char* filename);
|
|
void load(const char* filename);
|