Uranium
Application Framework
UM.View.GL.FrameBufferObject.FrameBufferObject Class Reference

An interface for OpenGL FrameBuffer Objects. More...

Public Member Functions

def __init__ (self, width, height)
 
int getTextureId (self)
 Get the texture ID of the texture target of this FBO. More...
 
None bind (self)
 Bind the FBO so it can be rendered to. More...
 
None release (self)
 Release the FBO so it will no longer be rendered to. More...
 
QImage getContents (self)
 Get the contents of the FBO as an image data object. More...
 

Detailed Description

An interface for OpenGL FrameBuffer Objects.

This class describes a minimal interface that is expected of FrameBuffer Object classes.

Member Function Documentation

◆ bind()

None UM.View.GL.FrameBufferObject.FrameBufferObject.bind (   self)

Bind the FBO so it can be rendered to.

◆ getContents()

QImage UM.View.GL.FrameBufferObject.FrameBufferObject.getContents (   self)

Get the contents of the FBO as an image data object.

◆ getTextureId()

int UM.View.GL.FrameBufferObject.FrameBufferObject.getTextureId (   self)

Get the texture ID of the texture target of this FBO.

◆ release()

None UM.View.GL.FrameBufferObject.FrameBufferObject.release (   self)

Release the FBO so it will no longer be rendered to.


The documentation for this class was generated from the following file: