gaGetOutputTexture()

Syntax

gaGetOutputTexture()

Example

gaTex = ofTexture()

function setup()
    gaTex:allocate(OUTPUT_W,OUTPUT_H,GL_RGB)
    gaTex:clear()
end

function update()
	gaTex = gaGetOutputTexture()
end

function draw()
    gaBackground(0.0,0.01)
     
    ofSetColor(255)
    ofCircle(100,100,100)
     
    gaTex:draw(gaMouseX(),gaMouseY())
end

Description

The GAmuza output window reference as a ofTexture.

Returns

«ofTexture, The GAmuza output window as a ofTexture