24 #ifndef HDST_PERSISTENT_BUFFER_H
25 #define HDST_PERSISTENT_BUFFER_H
28 #include "pxr/imaging/hdSt/api.h"
29 #include "pxr/imaging/hdSt/resourceGL.h"
31 #include <boost/shared_ptr.hpp>
33 PXR_NAMESPACE_OPEN_SCOPE
36 typedef boost::shared_ptr<class HdStPersistentBuffer> HdStPersistentBufferSharedPtr;
48 ~HdStPersistentBuffer();
54 void * _mappedAddress;
58 PXR_NAMESPACE_CLOSE_SCOPE
60 #endif // HDST_PERSISTENT_BUFFER_H
A buffer used to prepare data on the GPU that has a persistent mapping from the CPU.
Token for efficient comparison, assignment, and hashing of known strings.
void * GetMappedAddress() const
Returns the mapped address.
Base class for simple OpenGL resource objects.