Adding a way to retrieve vertex attribute TType using TProgram reflection API (required in order to query location attributes).

This commit is contained in:
BearishSun 2016-11-22 09:53:04 +01:00
parent fabe7d6a61
commit 32c294ed76
2 changed files with 2 additions and 0 deletions

View file

@ -511,6 +511,7 @@ public:
int getAttributeType(int index) const; // can be used for glGetActiveAttrib()
const TType* getUniformTType(int index) const; // returns a TType*
const TType* getUniformBlockTType(int index) const; // returns a TType*
const TType* getAttributeTType(int index) const; // returns a TType*
void dumpReflection();