47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
// Filename: frameBufferStack.I
|
|
// Created by: drose (06Oct99)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: FrameBufferStack::Constructor
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE FrameBufferStack::
|
|
FrameBufferStack() {
|
|
_stack_level = -1;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: FrameBufferStack::Destructor
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE FrameBufferStack::
|
|
~FrameBufferStack() {
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: FrameBufferStack::Copy Constructor
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE FrameBufferStack::
|
|
FrameBufferStack(const FrameBufferStack ©) :
|
|
_frame_buffer(copy._frame_buffer),
|
|
_stack_level(copy._stack_level)
|
|
{
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: FrameBufferStack::Copy Operator
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void FrameBufferStack::
|
|
operator =(const FrameBufferStack ©) {
|
|
_frame_buffer = copy._frame_buffer;
|
|
_stack_level = copy._stack_level;
|
|
}
|