Panda3D
Public Member Functions | Static Public Member Functions | List of all members
CallbackGraphicsWindow::RenderCallbackData Class Reference
Inheritance diagram for CallbackGraphicsWindow::RenderCallbackData:
CallbackGraphicsWindow::WindowCallbackData CallbackData TypedObject MemoryBase

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...
 
- Public Member Functions inherited from CallbackGraphicsWindow::WindowCallbackData
CallbackGraphicsWindow getWindow ()
 Returns the window this callback was triggered from. More...
 
- Public Member Functions inherited from CallbackData
 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...
 
- Public Member Functions inherited from TypedObject
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 Public Member Functions inherited from CallbackGraphicsWindow::WindowCallbackData
static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from CallbackData
static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle getClassType ()
 

Member Function Documentation

◆ 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.

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getFrameMode()

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.

◆ getRenderFlag()

bool getRenderFlag ( )

Returns the current setting of the render flag. See set_render_flag().

◆ setRenderFlag()

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.