Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
AnimateVerticesRequest Class Reference

This class object manages a single asynchronous request to animate vertices on a GeomVertexData object. More...

Inheritance diagram for AnimateVerticesRequest:
AsyncTask AsyncTaskBase TypedReferenceCount Namable TypedObject ReferenceCount

List of all members.

Public Member Functions

 AnimateVerticesRequest (GeomVertexData geom_vertex_data)
 Create a new AnimateVerticesRequest.
bool isReady ()
 Returns true if this request has completed, false if it is still pending.

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

This class object manages a single asynchronous request to animate vertices on a GeomVertexData object.

animate_vertices will be called with force=true (i.e. blocking) in a sub-thread (if threading is available). No result is stored or returned from this object. It is expected that the result will be cached and available for immediate use later during rendering. Thus it is important that the main thread block while these requests are being run (presumably on multiple CPUs/cores), to ensure that the data has been computed by the time it's needed.


Constructor & Destructor Documentation

AnimateVerticesRequest ( GeomVertexData  geom_vertex_data)

Create a new AnimateVerticesRequest.


Member Function Documentation

static TypeHandle getClassType ( ) [static]

Reimplemented from AsyncTask.

bool isReady ( )

Returns true if this request has completed, false if it is still pending.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties