This class object manages a single asynchronous request to animate vertices on a GeomVertexData object. More...
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 () |
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.
AnimateVerticesRequest | ( | GeomVertexData | geom_vertex_data | ) |
Create a new AnimateVerticesRequest.
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from AsyncTask.
bool isReady | ( | ) |
Returns true if this request has completed, false if it is still pending.