14 #ifndef CYCLEDATALOCKEDSTAGEREADER_H 15 #define CYCLEDATALOCKEDSTAGEREADER_H 26 template<
class CycleDataType>
33 int stage,
Thread *current_thread = Thread::get_current_thread());
43 INLINE
operator const CycleDataType * ()
const;
53 const CycleDataType *_pointer;
55 #else // !DO_PIPELINING 57 const CycleDataType *_pointer;
58 #endif // DO_PIPELINING This class maintains different copies of a page of data between stages of the graphics pipeline (or a...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
const CycleDataType * take_pointer()
This is intended to be called only from CycleDataStageWriter when it elevates the pointer from read t...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
const CycleDataType * operator ->() const
This provides an indirect member access to the actual CycleData data.
This class is similar to CycleDataLockedReader, except it allows reading from a particular stage of t...
A thread; that is, a lightweight process.
Thread * get_current_thread() const
Returns the Thread pointer of the currently-executing thread, as passed to the constructor of this ob...