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

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...
 
- 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 ()
 
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 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 ()
 

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...
 
- Public Attributes inherited from CallbackGraphicsWindow::WindowCallbackData
CallbackGraphicsWindow window
 Returns the window this callback was triggered from. More...
 
- Public Attributes inherited from TypedObject
TypeHandle type
 Returns the TypeHandle representing this object's type. More...
 

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.

Member Data Documentation

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

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

◆ render_flag

bool render_flag

Returns the current setting of the render flag.

See set_render_flag().