diff --git a/src/programs.js b/src/programs.js index e86cb2b4..65e4fc8e 100644 --- a/src/programs.js +++ b/src/programs.js @@ -1014,6 +1014,7 @@ function createTransformFeedback(gl, programInfo, bufferInfo) { /** * @typedef {Object} UniformData + * @property {string} name The name of the uniform * @property {number} type The WebGL type enum for this uniform * @property {number} size The number of elements for this uniform * @property {number} blockNdx The block index this uniform appears in @@ -1040,7 +1041,7 @@ function createTransformFeedback(gl, programInfo, bufferInfo) { * UniformBlockObjects for a given program * * @typedef {Object} UniformBlockSpec - * @property {Object. blockSpecs The BlockSpec for each block by block name + * @property {Object.} blockSpecs The BlockSpec for each block by block name * @property {UniformData[]} uniformData An array of data for each uniform by uniform index. * @memberOf module:twgl */ @@ -1643,7 +1644,7 @@ function setBuffersAndAttributes(gl, programInfo, buffers) { * @property {WebGLProgram} program A shader program * @property {Object} uniformSetters object of setters as returned from createUniformSetters, * @property {Object} attribSetters object of setters as returned from createAttribSetters, - * @property {module:twgl.UniformBlockSpec} [uniformBlockSpace] a uniform block spec for making UniformBlockInfos with createUniformBlockInfo etc.. + * @property {module:twgl.UniformBlockSpec} [uniformBlockSpec] a uniform block spec for making UniformBlockInfos with createUniformBlockInfo etc.. * @property {Object} [transformFeedbackInfo] info for transform feedbacks * @memberOf module:twgl */