Hello Guest

missing enums???

  • 3 Replies
  • 4725 Views
*

Offline Zero

  • *
  • 13
    • http://www.zerohaven.com
missing enums???
« on: April 04, 2005, 05:13:49 »
I am attempting to use glBlendEquation() and it takes
GL_FUNC_ADD
GL_FUNC_SUB
GL_FUNC_REVERSE_SUBTRACT
GL_MIN
GL_MAX

according to  the redbook. are these named wrong? or missing?? i can't seem to use any
of them and they are not in the javadocs. perhaphs there is an alternative method.

*

Offline Matzon

  • *****
  • 2242
missing enums???
« Reply #1 on: April 04, 2005, 06:38:05 »
Quote
glBlendEquation is part of the GL_ARB_imaging subset.
and placed in the ARBImaging class :)

*

Offline Zero

  • *
  • 13
    • http://www.zerohaven.com
oh
« Reply #2 on: April 04, 2005, 07:36:11 »
oh, the red book didn't mention that ;)

[edit] though it is talked about in the blending section not in the imaging section? oh well

*

Offline Zero

  • *
  • 13
    • http://www.zerohaven.com
?
« Reply #3 on: April 04, 2005, 07:42:22 »
glBlendEquation is in org.lwjgl.opengl.GL14 and its enums are in org.lwjgl.opengl.ARBImaging.... that is slightly confusing ;).
Perhaps ARBImaging is part of standard 1.4 now?