Panda3D
|
#include <pandadoc.hpp>
Public Member Functions | |
CallbackGraphicsWindow::RenderCallbackType | getCallbackType () |
Since the render callback is shared for several functions, this method is needed to indicate which particular function is being invoked with this callback. More... | |
GraphicsOutput::FrameMode | getFrameMode () |
If the callback type (returned by get_callback_type) is RCT_begin_frame or RCT_end_frame, then this method will return the particular frame mode indicating what, precisely, we want to do this frame. More... | |
bool | getRenderFlag () |
Returns the current setting of the render flag. More... | |
setRenderFlag (bool render_flag) | |
If the callback type is RCT_begin_frame, this call is available to specify the return value from the begin_frame() call. More... | |
![]() | |
CallbackGraphicsWindow | getWindow () |
Returns the window this callback was triggered from. More... | |
![]() | |
output (Ostream out) | |
upcall () | |
You should make this call during the callback if you want to continue the normal function that would have been done in the absence of a callback. More... | |
![]() | |
TypeHandle | getType () |
int | getTypeIndex () |
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More... | |
bool | isExactType (TypeHandle handle) |
Returns true if the current object is the indicated type exactly. More... | |
bool | isOfType (TypeHandle handle) |
Returns true if the current object is or derives from the indicated type. More... | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
![]() | |
static TypeHandle | getClassType () |
![]() | |
static TypeHandle | getClassType () |
![]() | |
static TypeHandle | getClassType () |
Public Attributes | |
CallbackGraphicsWindow::RenderCallbackType | callback_type |
Since the render callback is shared for several functions, this method is needed to indicate which particular function is being invoked with this callback. More... | |
GraphicsOutput::FrameMode | frame_mode |
If the callback type (returned by get_callback_type) is RCT_begin_frame or RCT_end_frame, then this method will return the particular frame mode indicating what, precisely, we want to do this frame. More... | |
bool | render_flag |
Returns the current setting of the render flag. More... | |
![]() | |
CallbackGraphicsWindow | window |
Returns the window this callback was triggered from. More... | |
![]() | |
TypeHandle | type |
Returns the TypeHandle representing this object's type. More... | |
CallbackGraphicsWindow::RenderCallbackType getCallbackType | ( | ) |
Since the render callback is shared for several functions, this method is needed to indicate which particular function is being invoked with this callback.
|
static |
GraphicsOutput::FrameMode getFrameMode | ( | ) |
If the callback type (returned by get_callback_type) is RCT_begin_frame or RCT_end_frame, then this method will return the particular frame mode indicating what, precisely, we want to do this frame.
bool getRenderFlag | ( | ) |
Returns the current setting of the render flag.
See set_render_flag().
setRenderFlag | ( | bool | render_flag | ) |
If the callback type is RCT_begin_frame, this call is available to specify the return value from the begin_frame() call.
If this is true (the default), the frame is rendered normally; if it is false, the frame is omitted.
CallbackGraphicsWindow::RenderCallbackType callback_type |
Since the render callback is shared for several functions, this method is needed to indicate which particular function is being invoked with this callback.
GraphicsOutput::FrameMode frame_mode |
If the callback type (returned by get_callback_type) is RCT_begin_frame or RCT_end_frame, then this method will return the particular frame mode indicating what, precisely, we want to do this frame.
bool render_flag |
Returns the current setting of the render flag.
See set_render_flag().