diff options
Diffstat (limited to 'rsProgram.h')
-rw-r--r-- | rsProgram.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rsProgram.h b/rsProgram.h index dc3a57c3..4bb7802f 100644 --- a/rsProgram.h +++ b/rsProgram.h @@ -42,6 +42,8 @@ public: void bindAllocation(Allocation *); virtual void createShader(); + bool isUserProgram() const {return mUserShader.size() > 0;} + void bindTexture(uint32_t slot, Allocation *); void bindSampler(uint32_t slot, Sampler *); |