Module |
|
Header |
/Engine/Plugins/Experimental/GeometryCache/Source/GeometryCache/Classes/GeometryCacheTrackStreamable.h |
Include |
#include "GeometryCacheTrackStreamable.h" |
UGeometryCacheTrackStreamable * GetTrack()
Get the UGeometryCacheTrackStreamable track corresponding to this render resource.
This track data is valid and won't change as long as this FGeometryCacheTrackStreamableRenderResource instance is live. If we need to modify the track we will first tear down this FGeometryCacheTrackStreamableRenderResource instance and sync the renderthread.
So you can keep the pointer around as long as you know the FGeometryCacheTrackStreamableRenderResource instance you got it from stays valid.