diff options
Diffstat (limited to 'libs/rs/rsComponent.cpp')
| -rw-r--r-- | libs/rs/rsComponent.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/rsComponent.cpp b/libs/rs/rsComponent.cpp index 8e509ad715d7..fbaa75f68c31 100644 --- a/libs/rs/rsComponent.cpp +++ b/libs/rs/rsComponent.cpp @@ -161,6 +161,10 @@ void Component::set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) mBits = mTypeBits * mVectorSize; } +bool Component::isReference() const +{ + return (mType >= RS_TYPE_ELEMENT); +} |