Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


NV_vertex_array_range question

This topic is 5933 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So I am looking at the sample nvidia source code for NV_vertex_array_range extension... can someone explain to me what this piece of code does exactly ? //NV_vertex_array_range -- wglext.h typedef void * (APIENTRY * PFNWGLALLOCATEMEMORYNVPROC) (int size, float readfreq, float writefreq, float priority); typedef void (APIENTRY * PFNWGLFREEMEMORYNVPROC) (void *pointer); I am guessing it defines an external function pointer. But why do I need this and what does it do exactly ? Nitzan ------------------------- www.geocities.com/nitzanw www.scorchedearth3d.net -------------------------

Share this post

Link to post
Share on other sites
What does it do?

It defines a function pointer. Nothing too differcult about that.

Now, it''s needed because you need to retrieve the functions needed by extensions manually, as they are not present in OpenGL32.dll.

Death of one is a tragedy, death of a million is just a statistic.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!