webgl: Add WebGLActiveInfo and WebGLShaderPrecisionFormat interfaces

This commit is contained in:
ecoal95 2015-06-11 21:20:21 +02:00
parent ee192793d5
commit b0d04765ae
6 changed files with 123 additions and 0 deletions

View file

@ -0,0 +1,10 @@
//
// WebGL IDL definitions scraped from the Khronos specification:
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.7
//
interface WebGLShaderPrecisionFormat {
readonly attribute GLint rangeMin;
readonly attribute GLint rangeMax;
readonly attribute GLint precision;
};