Codesnippets > Code Snippets

OpenGL calls

<< < (2/6) > >>

Kitty Hello:
The code above creates an OpenGL texture and binds it to the current state. It does not matter if you use it for 3D or 2D, however the SPRITE command will bind another texture to the state, so, you might be out of luck here. I'll put in some way to give acccess to internal numbers in next update.

For variables, you can use the external names. $ converts to '_Str'. An array index is (a,b) instead of [a] within INLINE.

bigsofty:
This URL... "http://www.css.taylor.edu/~btoll/resources/graphics/opengl/xp/gl.h" is no longer available.

Kitty Hello:
http://mvb.saic.com/freeware/freewarev40/mesa/include/gl/gl.h

bigsofty:
Ah thank you, so any up to date OpenGL API Header will do?

Kitty Hello:
Any ancient one will do. Newer function are available though wglGetProcAddress, only.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version