Skip to content

Commit

Permalink
changed visibility of setUniforms to allow for custom rendering code
Browse files Browse the repository at this point in the history
  • Loading branch information
neilmendoza committed Apr 9, 2018
1 parent 69c832a commit 68fc51f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/GpuParticles.h
Expand Up @@ -86,10 +86,13 @@ namespace itg

void save(const string& fileName);
void load(const string& fileName);

private:

// this will be called for you by ofxGpuParticles::draw()
// you should only need to call it yourself if you are not
// using that function (i.e. custom particle rendering)
void setUniforms(ofShader& shader);


private:
ofFbo fbos[2];
ofVboMesh mesh;
ofVboMesh quadMesh;
Expand Down

0 comments on commit 68fc51f

Please sign in to comment.