View Full Version : what's the meaning of the last parameter of "wglBindTexImageARB()"
pango
09-14-2003, 10:03 AM
the parameter has two values,what's the meaning of them?
NitroGL
09-14-2003, 10:30 AM
Originally posted by pango:
the parameter has two values,what's the meaning of them?
That parameter is for binding a part of a buffer, like the front or back buffer on a double buffered pbuffer. You can also bind aux buffers and stereo buffers (front_left, front_right, back_left, back_right).
As NitroGL said it's for selecting the buffer that the texture will be "drawn from" when you are using the pbuffers contents as a texture. The spec/extension registry doc is rather difficult to read (IMO).
This document (from nVidia) is quite useful...
Click here (http://developer.nvidia.com/object/gdc_oglrtt.html)
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.