Uranium
Application Framework
Loading...
Searching...
No Matches
UM.View.GL.FrameBufferObject.FrameBufferObject Class Reference

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
 

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: