diff options
author | Jason Sams <rjsams@android.com> | 2009-08-12 17:54:11 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2009-08-12 17:54:11 -0700 |
commit | 8b2c065dfc16c148e2829a19e83d2269b9bcd4cc (patch) | |
tree | 2666dc77e1a6ee12a66440ee893d61be377a1b7a /rsComponent.h | |
parent | e697ca33b05c64480d20bf22282036f5601ab788 (diff) | |
download | rs-8b2c065dfc16c148e2829a19e83d2269b9bcd4cc.tar.gz |
Implement reflecting Java objects into the ACC enviroment.
Diffstat (limited to 'rsComponent.h')
-rw-r--r-- | rsComponent.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rsComponent.h b/rsComponent.h index 9db107fc..5ee95c71 100644 --- a/rsComponent.h +++ b/rsComponent.h @@ -44,7 +44,7 @@ public: }; - Component(DataKind dk, DataType dt, bool isNormalized, uint32_t bits); + Component(DataKind dk, DataType dt, bool isNorm, uint32_t bits, const char *); virtual ~Component(); DataType getType() const {return mType;} @@ -54,12 +54,15 @@ public: uint32_t getGLType() const; + const char * getComponentName() const {return mName.string();} + protected: DataType mType; bool mIsNormalized; DataKind mKind; uint32_t mBits; + String8 mName; private: Component(); |