|
Panda3D
|
This is a special class object that holds all the information returned by a particular GSG to indicate the texture's internal context identifier. More...
Public Member Functions | |
| Texture | getTexture () |
| Returns the pointer to the associated Texture object. | |
| int | getView () |
| Returns the specific view of a multiview texture this context represents. | |
| bool | wasImageModified () |
| Returns true if the texture image has been modified since the last time mark_loaded() was called. | |
| bool | wasModified () |
| Returns true if the texture properties or image have been modified since the last time mark_loaded() was called. | |
| bool | wasPropertiesModified () |
| Returns true if the texture properties (unrelated to the image) have been modified since the last time mark_loaded() was called. | |
| bool | wasSimpleImageModified () |
| Returns true if the texture's "simple" image has been modified since the last time mark_simple_loaded() was called. | |
Static Public Member Functions | |
| static TypeHandle | getClassType () |
This is a special class object that holds all the information returned by a particular GSG to indicate the texture's internal context identifier.
Textures typically have an immediate-mode and a retained-mode operation. When using textures in retained-mode (in response to Texture.prepare()), the GSG will create some internal handle for the texture and store it here. The texture stores all of these handles internally.
| static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from BufferContext.
| int getView | ( | ) |
Returns the specific view of a multiview texture this context represents.
In the usual case, with a non-multiview texture, this will be 0.
| bool wasImageModified | ( | ) |
Returns true if the texture image has been modified since the last time mark_loaded() was called.
| bool wasModified | ( | ) |
Returns true if the texture properties or image have been modified since the last time mark_loaded() was called.
| bool wasPropertiesModified | ( | ) |
Returns true if the texture properties (unrelated to the image) have been modified since the last time mark_loaded() was called.
| bool wasSimpleImageModified | ( | ) |
Returns true if the texture's "simple" image has been modified since the last time mark_simple_loaded() was called.
1.7.3