Hi osgDevs,

while working on osgBindings I stumbled across things like this:

class OSG_EXPORT BlendFunc : public StateAttribute {
...
enum BlendFuncMode {
  DST_ALPHA                = GL_DST_ALPHA,
  DST_COLOR                = GL_DST_COLOR
  ...
}

inline void setFunction( GLenum source, GLenum destination )
...
(every method using GLenum)

and the member variables:

 GLenum _source_factor;
 GLenum _destination_factor;
 GLenum _source_factor_alpha;
 GLenum _destination_factor_alpha;



Is this intentional? Why are enums been generated (nice) but then not been used? I know it doesn't make a difference for C++ but it makes a big difference when you bind it to other languages (not using reflections).



Cheers,
Hartmut














_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to