I have a variable of type
UniformParameterPtr decalared by
Ogre and I want to get its value.
What is the right way to this?
I tried the method
.get() but it doesn't really give the value.
UniformParameterPtr is a typedef for
Ogre::SharedPtr the behavior is always the same:
You can retrieve the actual object instance that is encapsulated in the shared pointer via
get(), which would in your case give you an
Alternatively you can directly access the members of the object encapsulated in the shared pointer via
-> as if it were a regular pointer.