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

Public Member Functions

def __init__
 
def getTextureId (self)
 
def bind (self)
 
def release (self)
 
def getContents (self)
 

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()

def UM.View.GL.FrameBufferObject.FrameBufferObject.bind (   self,
  None 
)
Bind the FBO so it can be rendered to.

◆ getContents()

def UM.View.GL.FrameBufferObject.FrameBufferObject.getContents (   self,
  QImage 
)
Get the contents of the FBO as an image data object.

◆ getTextureId()

def UM.View.GL.FrameBufferObject.FrameBufferObject.getTextureId (   self,
  int 
)
Get the texture ID of the texture target of this FBO.

◆ release()

def UM.View.GL.FrameBufferObject.FrameBufferObject.release (   self,
  None 
)
Release the FBO so it will no longer be rendered to.

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