Uranium
Application Framework
|
Public Member Functions | |
None | __init__ (self, int width, int height) |
int | getTextureId (self) |
None | bind (self) |
None | release (self) |
QImage | getContents (self) |
Protected Attributes | |
_fbo | |
_contents | |
An interface for OpenGL FrameBuffer Objects. This class describes a minimal interface that is expected of FrameBuffer Object classes.
None UM.View.GL.FrameBufferObject.FrameBufferObject.bind | ( | self | ) |
Bind the FBO so it can be rendered to.
QImage UM.View.GL.FrameBufferObject.FrameBufferObject.getContents | ( | self | ) |
Get the contents of the FBO as an image data object.
int UM.View.GL.FrameBufferObject.FrameBufferObject.getTextureId | ( | self | ) |
Get the texture ID of the texture target of this FBO.
None UM.View.GL.FrameBufferObject.FrameBufferObject.release | ( | self | ) |
Release the FBO so it will no longer be rendered to.