PDA

View Full Version : How use wglAllocateMemoryNV?



netvir
08-16-2002, 06:51 AM
The NVsdk say DrawElements/DrawArrays Using wglAllocateMemoryNV(size,0,0,1) is very fast,for use the Video Memory.But did not give a sample. Can somebody tell me how to use,or give me some code about this.All reply is appreciated.

ppinter1
08-16-2002, 07:37 AM
Suggest you download Display3DS (http://p-squared.com/Display3DS.zip) which includes the glext.h and wglext.h headers needed as well as legible code to see how it's done.

Specifically, check out the Mesh3DS class constructor/destructor and header file for guidance.