Panda3D
|
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. See set_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. If this is true (the default), the frame is rendered normally; if it is false, the frame is omitted. 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 () |
Derived classes should override this function to return get_class_type(). More... | |
int | getTypeIndex () |
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. This is equivalent to get_type().get_index(). 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 () |
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.