Shankar N Swamy (shankar.n.swamy++at++boeing.com)
Wed, 16 Jun 1999 12:53:09 -0700
pfTexture::subload( PFTEX_SOURCE_FRAMEBUFFER,
NULL /* for framebuffer */,
/* origin of the screen rectangle: */
int(sx0), int(sy0),
0 /* "srcwid" - 0 for framebuffer */,
0, 0 /* subload from the bottom left of the texture */,
int(xmax-xmin), int(ymax-ymin) )
The safest place to call this is probably the draw function callback.
Also look at the OpenGL call glCopyTexSubImage2D(...), if that's what
you need.
--------------------------------------------------------------------------
shankar.n.swamy++at++boeing.com Shankar N. Swamy
Computer Graphics & VR Research
PHONE: (425) 865-4286 Mathematics & Computing Technology
FAX : (425) 865-2965 Phantom Works, Boeing
PO Box 3707 MS 7L-48, Seattle, WA 98124-2207
---------------------------------------------------------------------------
This archive was generated by hypermail 2.0b2 on Wed Jun 16 1999 - 12:53:15 PDT