get_texture
Returns the Texture object associated with this asynchronous TextureReloadRequest.
bool get_allow_compressed() const
Returns the "allow compressed" flag associated with this asynchronous TextureReloadRequest.
PreparedGraphicsObjects * get_prepared_graphics_objects() const
Returns the PreparedGraphicsObjects object associated with this asynchronous TextureReloadRequest.
bool is_ready() const
Returns true if this request has completed, false if it is still pending.
TextureReloadRequest(const std::string &name, PreparedGraphicsObjects *pgo, Texture *texture, bool allow_compressed)
Create a new TextureReloadRequest, and add it to the loader via load_async(), to begin an asynchronou...
Represents a texture object, which is typically a single 2-d image but may also represent a 1-d or 3-...
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.