|
Panda3D
|
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
Go to the source code of this file.
Functions | |
| PT (Texture) GraphicsOutput | |
| Captures the most-recently rendered image from the framebuffer and returns it as Texture, or NULL on failure. | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file graphicsOutput.I.
|
inline |
Captures the most-recently rendered image from the framebuffer and returns it as Texture, or NULL on failure.
This method is called after each texture has been loaded from disk, via the TexturePool, for the first time.
Invokes post_load() on all registered filters.
Invokes pre_load() on all registered filters until one returns non-NULL; returns NULL if there are no registered filters or if all registered filters returned NULL.
By the time this method is called, the Texture has already been fully read from disk. This method should return the Texture pointer that the TexturePool should actually return (usually it is the same as the pointer supplied).
Definition at line 643 of file graphicsOutput.I.