[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Public WebGL] texParameteri and texParameterf



Hi,

Do you think that texParameteri and texParameterf could be merged into a single texParameter method that would interprete its 'param' argument either as an int or as a float, depending on the 'pname' argument' ?

Maybe that would be more in line with the rest of our API, and more javascript-ish?

Note that in standard OpenGL ES / WebGL there is currently no float parameter at all, although extensions might add some.

Benoit
-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email: