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

[Public WebGL] Typed WebGLArray sequence parameter types

Is this possible to modify typed WebGLArray sequence parameter types
in the IDL definitions as below?

* WebGLByteArray:
   sequence<long> -> sequence<octet>
* WebGLUnsignedByteArray:
   sequence<unsigned long> -> sequence<octet>
* WebGLShortArray:
   sequence<long> -> sequence<short>
* WebGLUnsignedShortArray:
   sequence<unsigned long> -> sequence<unsigned short>

This change would make the generated interfaces for statically typed
languages (e.g. Java) more useful.

Note currently Web IDL does not have a primitive type for 8-bit signed
integer values. If it is useful for WebGL, maybe we can propose an
addition of it to Web IDL as Geolocation WG requested to add 'double'
in addition to 'float' [0].

[0] http://lists.w3.org/Archives/Public/public-webapps/2009AprJun/0960.html


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