TextureReloadRequest
from panda3d.core import TextureReloadRequest
- class TextureReloadRequest
Bases:
AsyncTask
This loader request will call Texture::get_ram_image() in a sub-thread, to force the texture’s image to be re-read from disk. It is used by GraphicsStateGuardian::async_reload_texture(), when get_incomplete_render() is true.
Deprecated: Use Texture::async_ensure_ram_image() instead.
Inheritance diagram
- __init__(*args, **kwargs)
- getAllowCompressed()
C++ Interface: get_allow_compressed(TextureReloadRequest self)
- /**
Returns the “allow compressed” flag associated with this asynchronous
TextureReloadRequest.
*/
- getClassType()
C++ Interface: get_class_type()
- getPreparedGraphicsObjects()
C++ Interface: get_prepared_graphics_objects(TextureReloadRequest self)
- /**
Returns the PreparedGraphicsObjects object associated with this
asynchronous TextureReloadRequest.
*/
- getTexture()
C++ Interface: get_texture(TextureReloadRequest self)
- /**
Returns the Texture object associated with this asynchronous
TextureReloadRequest.
*/
- get_allow_compressed()
C++ Interface: get_allow_compressed(TextureReloadRequest self)
- /**
Returns the “allow compressed” flag associated with this asynchronous
TextureReloadRequest.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_prepared_graphics_objects()
C++ Interface: get_prepared_graphics_objects(TextureReloadRequest self)
- /**
Returns the PreparedGraphicsObjects object associated with this
asynchronous TextureReloadRequest.
*/
- get_texture()
C++ Interface: get_texture(TextureReloadRequest self)
- /**
Returns the Texture object associated with this asynchronous
TextureReloadRequest.
*/
- isReady()
C++ Interface: is_ready(TextureReloadRequest self)
- /**
Returns true if this request has completed, false if it is still pending.
Equivalent to req.done() and not req.cancelled().
@see done()
*/
- is_ready()
C++ Interface: is_ready(TextureReloadRequest self)
- /**
Returns true if this request has completed, false if it is still pending.
Equivalent to req.done() and not req.cancelled().
@see done()
*/
- texture