twgl.js 4.22.0 → 4.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/4.x/twgl-full.d.ts
CHANGED
|
@@ -334,10 +334,10 @@ export function createVAOAndSetAttributes(gl: WebGLRenderingContext, setters: {
|
|
|
334
334
|
[key: string]: (...params: any[]) => any;
|
|
335
335
|
}, attribs: {
|
|
336
336
|
[key: string]: AttribInfo;
|
|
337
|
-
}, indices?: WebGLBuffer):
|
|
337
|
+
}, indices?: WebGLBuffer): WebGLVertexArrayObject | null;
|
|
338
338
|
export function createVAOFromBufferInfo(gl: WebGLRenderingContext, programInfo: {
|
|
339
339
|
[key: string]: (...params: any[]) => any;
|
|
340
|
-
} | ProgramInfo, bufferInfo: BufferInfo, indices?: WebGLBuffer):
|
|
340
|
+
} | ProgramInfo, bufferInfo: BufferInfo, indices?: WebGLBuffer): WebGLVertexArrayObject | null;
|
|
341
341
|
|
|
342
342
|
declare module v3 {
|
|
343
343
|
export type Vec3 = number[] | Float32Array;
|
package/dist/4.x/twgl-full.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @license twgl.js 4.22.
|
|
2
|
+
* @license twgl.js 4.22.1 Copyright (c) 2015, Gregg Tavares All Rights Reserved.
|
|
3
3
|
* Available via the MIT license.
|
|
4
4
|
* see: http://github.com/greggman/twgl.js for details
|
|
5
5
|
*/
|
|
@@ -10785,6 +10785,9 @@ function createVertexArrayInfo(gl, programInfos, bufferInfo) {
|
|
|
10785
10785
|
* @param {Object.<string, function>} setters Attribute setters as returned from createAttributeSetters
|
|
10786
10786
|
* @param {Object.<string, module:twgl.AttribInfo>} attribs AttribInfos mapped by attribute name.
|
|
10787
10787
|
* @param {WebGLBuffer} [indices] an optional ELEMENT_ARRAY_BUFFER of indices
|
|
10788
|
+
*
|
|
10789
|
+
* @return {WebGLVertexArrayObject|null} The created WebGLVertexArrayObject
|
|
10790
|
+
*
|
|
10788
10791
|
* @memberOf module:twgl/vertexArrays
|
|
10789
10792
|
*/
|
|
10790
10793
|
|
|
@@ -10812,6 +10815,9 @@ function createVAOAndSetAttributes(gl, setters, attribs, indices) {
|
|
|
10812
10815
|
* @param {Object.<string, function>| module:twgl.ProgramInfo} programInfo as returned from createProgramInfo or Attribute setters as returned from createAttributeSetters
|
|
10813
10816
|
* @param {module:twgl.BufferInfo} bufferInfo BufferInfo as returned from createBufferInfoFromArrays etc...
|
|
10814
10817
|
* @param {WebGLBuffer} [indices] an optional ELEMENT_ARRAY_BUFFER of indices
|
|
10818
|
+
*
|
|
10819
|
+
* @return {WebGLVertexArrayObject|null} The created WebGLVertexArrayObject
|
|
10820
|
+
*
|
|
10815
10821
|
* @memberOf module:twgl/vertexArrays
|
|
10816
10822
|
*/
|
|
10817
10823
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @license twgl.js 4.22.
|
|
1
|
+
/* @license twgl.js 4.22.1 Copyright (c) 2015, Gregg Tavares All Rights Reserved.
|
|
2
2
|
Available via the MIT license.
|
|
3
3
|
see: http://github.com/greggman/twgl.js for details */
|
|
4
4
|
/*
|
|
@@ -9271,6 +9271,9 @@ function createVertexArrayInfo(gl, programInfos, bufferInfo) {
|
|
|
9271
9271
|
* @param {Object.<string, function>} setters Attribute setters as returned from createAttributeSetters
|
|
9272
9272
|
* @param {Object.<string, module:twgl.AttribInfo>} attribs AttribInfos mapped by attribute name.
|
|
9273
9273
|
* @param {WebGLBuffer} [indices] an optional ELEMENT_ARRAY_BUFFER of indices
|
|
9274
|
+
*
|
|
9275
|
+
* @return {WebGLVertexArrayObject|null} The created WebGLVertexArrayObject
|
|
9276
|
+
*
|
|
9274
9277
|
* @memberOf module:twgl/vertexArrays
|
|
9275
9278
|
*/
|
|
9276
9279
|
function createVAOAndSetAttributes(gl, setters, attribs, indices) {
|
|
@@ -9295,6 +9298,9 @@ function createVAOAndSetAttributes(gl, setters, attribs, indices) {
|
|
|
9295
9298
|
* @param {Object.<string, function>| module:twgl.ProgramInfo} programInfo as returned from createProgramInfo or Attribute setters as returned from createAttributeSetters
|
|
9296
9299
|
* @param {module:twgl.BufferInfo} bufferInfo BufferInfo as returned from createBufferInfoFromArrays etc...
|
|
9297
9300
|
* @param {WebGLBuffer} [indices] an optional ELEMENT_ARRAY_BUFFER of indices
|
|
9301
|
+
*
|
|
9302
|
+
* @return {WebGLVertexArrayObject|null} The created WebGLVertexArrayObject
|
|
9303
|
+
*
|
|
9298
9304
|
* @memberOf module:twgl/vertexArrays
|
|
9299
9305
|
*/
|
|
9300
9306
|
function createVAOFromBufferInfo(gl, programInfo, bufferInfo) {
|
package/dist/4.x/twgl.d.ts
CHANGED
|
@@ -334,7 +334,7 @@ export function createVAOAndSetAttributes(gl: WebGLRenderingContext, setters: {
|
|
|
334
334
|
[key: string]: (...params: any[]) => any;
|
|
335
335
|
}, attribs: {
|
|
336
336
|
[key: string]: AttribInfo;
|
|
337
|
-
}, indices?: WebGLBuffer):
|
|
337
|
+
}, indices?: WebGLBuffer): WebGLVertexArrayObject | null;
|
|
338
338
|
export function createVAOFromBufferInfo(gl: WebGLRenderingContext, programInfo: {
|
|
339
339
|
[key: string]: (...params: any[]) => any;
|
|
340
|
-
} | ProgramInfo, bufferInfo: BufferInfo, indices?: WebGLBuffer):
|
|
340
|
+
} | ProgramInfo, bufferInfo: BufferInfo, indices?: WebGLBuffer): WebGLVertexArrayObject | null;
|
package/dist/4.x/twgl.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @license twgl.js 4.22.
|
|
2
|
+
* @license twgl.js 4.22.1 Copyright (c) 2015, Gregg Tavares All Rights Reserved.
|
|
3
3
|
* Available via the MIT license.
|
|
4
4
|
* see: http://github.com/greggman/twgl.js for details
|
|
5
5
|
*/
|
|
@@ -7226,6 +7226,9 @@ function createVertexArrayInfo(gl, programInfos, bufferInfo) {
|
|
|
7226
7226
|
* @param {Object.<string, function>} setters Attribute setters as returned from createAttributeSetters
|
|
7227
7227
|
* @param {Object.<string, module:twgl.AttribInfo>} attribs AttribInfos mapped by attribute name.
|
|
7228
7228
|
* @param {WebGLBuffer} [indices] an optional ELEMENT_ARRAY_BUFFER of indices
|
|
7229
|
+
*
|
|
7230
|
+
* @return {WebGLVertexArrayObject|null} The created WebGLVertexArrayObject
|
|
7231
|
+
*
|
|
7229
7232
|
* @memberOf module:twgl/vertexArrays
|
|
7230
7233
|
*/
|
|
7231
7234
|
|
|
@@ -7253,6 +7256,9 @@ function createVAOAndSetAttributes(gl, setters, attribs, indices) {
|
|
|
7253
7256
|
* @param {Object.<string, function>| module:twgl.ProgramInfo} programInfo as returned from createProgramInfo or Attribute setters as returned from createAttributeSetters
|
|
7254
7257
|
* @param {module:twgl.BufferInfo} bufferInfo BufferInfo as returned from createBufferInfoFromArrays etc...
|
|
7255
7258
|
* @param {WebGLBuffer} [indices] an optional ELEMENT_ARRAY_BUFFER of indices
|
|
7259
|
+
*
|
|
7260
|
+
* @return {WebGLVertexArrayObject|null} The created WebGLVertexArrayObject
|
|
7261
|
+
*
|
|
7256
7262
|
* @memberOf module:twgl/vertexArrays
|
|
7257
7263
|
*/
|
|
7258
7264
|
|