4 lines
194 B
JavaScript
4 lines
194 B
JavaScript
/** @type {WebGL2RenderingContext} */ var myContext;
|
|
console.log(myContext.READ_BUFFER);
|
|
// See whether WebGL 1.0 properties are correctly type checked.
|
|
console.log(myContext.DEPTH_BUFFER_BIT);
|