pfTexture::subload

New Message Reply Date view Thread view Subject view Author view

From: Satheesh Ganapathi Subramanian (gsat++at++evl.uic.edu)
Date: 08/30/2000 15:11:52


Hi Performers,

I'm trying to use pfTexture::subload or pfSubLoadTex and I'm not able to
understand the meaning of - srcwidth, xsrc, ysrc - in the list of
paramenters to that function. I'm creating an image buffer (unsigned
int*), the data in which keeps changing every frame. I would like to load
this into texture memory using pfTexture::subload. It would be great if
someone can tell me what each parameter of the function call means. I'm
not able to get much out of the man pages.

If anyone has some sample code that they can share, explaining how to use
this function, it would be of immense use.

Thanks
Satheesh


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 30 2000 - 15:12:09 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.