[osg-users] Copy a region of an image x,y,w,h / s,t,r

Johny Canes psijsma at gmail.com
Tue Feb 27 04:00:56 PST 2018


Okay I found this in the docs

int 	s () const
 	Width of image. 
int 	t () const
 	Height of image. 
int 	r () const
 	Depth of image. 

However, the word Depth refers me to an osg class, which is like an enum / util thing or a state attribute of sorts.

How can I specify x,y,w,h instead?

Thank you!


Read this topic online here:

More information about the osg-users mailing list