Adding a way to retrieve vertex attribute TType using TProgram reflection API (required in order to query location attributes).
This commit is contained in:
parent
fabe7d6a61
commit
32c294ed76
2 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue