Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/ofxAutoReloadedShader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ bool ofxAutoReloadedShader::load(string shaderName )
return load( shaderName + ".vert", shaderName + ".frag", shaderName + ".geom" );
}

bool ofxAutoReloadedShader::load(string vertName, string shaderName )
{
return load( vertName, shaderName, "" );
}
// ---------------------------------------------------------------------------------------------------------------------------------------------------
//
bool ofxAutoReloadedShader::load(string vertName, string fragName, string geomName)
Expand Down
1 change: 1 addition & 0 deletions src/ofxAutoReloadedShader.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class ofxAutoReloadedShader : public ofShader

// override the initialisation functions
bool load(string shaderName );
bool load(string vertName, string fragName);
bool load(string vertName, string fragName, string geomName);

bool reloadShaders();
Expand Down