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