add get_frame_buffer
This commit is contained in:
parent
f998a9cf13
commit
024c9c31cb
|
|
@ -12,3 +12,14 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: TinyGraphicsBuffer::get_frame_buffer
|
||||
// Access: Public
|
||||
// Description: Returns a direct pointer to the frame buffer used in
|
||||
// this object.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
ZBuffer *TinyGraphicsBuffer::
|
||||
get_frame_buffer() {
|
||||
return _frame_buffer;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ public:
|
|||
virtual bool begin_frame(FrameMode mode, Thread *current_thread);
|
||||
virtual void end_frame(FrameMode mode, Thread *current_thread);
|
||||
|
||||
INLINE ZBuffer *get_frame_buffer();
|
||||
|
||||
protected:
|
||||
virtual void close_buffer();
|
||||
virtual bool open_buffer();
|
||||
|
|
|
|||
Loading…
Reference in New Issue