Is this code uploading image to GPU memory?

Hi, All.

Is this code uploading image to GPU memory?

void ofApp::setup(){

ofImage aa;

aa.setUseTexture(true);
aa.load("/Users/onyx/Desktop/panda.jpg");

}

I wonder.

Best,
@bemoregt.

Thats the point of setting setUseTexture to true. if you set it to false it will not.

1 Like