Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: what's the meaning of the last parameter of "wglBindTexImageARB()"

  1. #1
    Junior Member Regular Contributor
    Join Date
    Jan 2003
    Location
    Shanghai,China
    Posts
    201

    what's the meaning of the last parameter of "wglBindTexImageARB()"

    the parameter has two values,what's the meaning of them?

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    May 2001
    Location
    Beloit, Wisconsin
    Posts
    562

    Re: what's the meaning of the last parameter of "wglBindTexImageARB()"

    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).

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Apr 2000
    Location
    Melbourne,Victoria,Australia
    Posts
    767

    Re: what's the meaning of the last parameter of "wglBindTexImageARB()"

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •