MCPcopy Create free account

hub / github.com/greggman/twgl.js / functions

Functions1,258 in github.com/greggman/twgl.js

↓ 2 callersFunctionea
(b)
3rdparty/require.js:8
↓ 2 callersFunctionemitWarning
(msg, type)
test/mocha.js:12221
↓ 2 callersFunctionemptyRepresentation
* If a value could have properties, and has none, this function is called, * which returns a string representation of the empty value. * * Fu
test/mocha.js:10932
↓ 2 callersFunctionexecEditLength
()
test/mocha.js:5867
↓ 2 callersFunctionexpandRLEData
* Expands RLE data * @param {number[]} rleData data in format of run-length, x, y, z, run-length, x, y, z * @param {number[]} [padding] value to add
src/primitives.js:921
↓ 2 callersFunctionexpandRLEData
* Expands RLE data * @param {number[]} rleData data in format of run-length, x, y, z, run-length, x, y, z * @param {number[]} [padding] value to add
examples/js/browserified-example.js:3728
↓ 2 callersFunctionfileNameChanged
(patch)
test/mocha.js:7606
↓ 2 callersFunctionfinishMaybe
(stream, state)
test/mocha.js:5100
↓ 2 callersFunctionfrom
(that, value, encodingOrOffset, length)
test/mocha.js:8785
↓ 2 callersFunctionfrom$1
(that, value, encodingOrOffset, length)
test/mocha.js:1035
↓ 2 callersFunctionfromByteArray
(uint8)
test/mocha.js:8569
↓ 2 callersFunctionfromByteArray$1
(uint8)
test/mocha.js:812
↓ 2 callersFunctiongenerateTOC
(suite)
test/mocha.js:17810
↓ 2 callersFunctiongetBindPointForSamplerType
* Returns the corresponding bind point for a given sampler type * @private
src/programs.js:126
↓ 2 callersFunctiongetBindPointForSamplerType
* Returns the corresponding bind point for a given sampler type
examples/js/browserified-example.js:4806
↓ 2 callersFunctiongetBytesPerElementForInternalFormat
* Gets the number of bytes per element for a given internalFormat / type * @param {number} internalFormat The internalFormat parameter from texImage2
src/textures.js:495
↓ 2 callersFunctiongetProgramErrors
* Check a program's link status * @param {WebGLRenderingContext} gl The WebGLRenderingContext to use. * @param {WebGLProgram} program Program to che
src/programs.js:887
↓ 2 callersFunctiongetShaderTypeFromScriptType
(gl, scriptType)
examples/js/browserified-example.js:5582
↓ 2 callersFunctiongetTextureTypeForArrayType
* Gets the texture type for a given array type. * @param {WebGLRenderingContext} gl the WebGLRenderingContext * @return {number} the gl texture type
src/textures.js:614
↓ 2 callersFunctiongetTextureTypeForArrayType
* Gets the texture type for a given array type. * @param {WebGLRenderingContext} gl the WebGLRenderingContext * @return {number} the gl texture type
examples/js/browserified-example.js:7575
↓ 2 callersFunctionguessNumComponentsFromName
(name, length)
examples/js/browserified-example.js:313
↓ 2 callersFunctionhasErrors
(gl, program)
src/programs.js:781
↓ 2 callersFunctionhasOwnProperty
(obj, prop)
test/mocha.js:3478
↓ 2 callersFunctionhideSuitesWithout
* Check for suites that do not have elements * with `classname`, and hide them. * * @param {text} classname
test/mocha.js:16940
↓ 2 callersFunctionhookErr
(_, errSuite, after)
test/mocha.js:14675
↓ 2 callersFunctionhowMuchToRead
(n, state)
test/mocha.js:4010
↓ 2 callersFunctionhunkBefore
(test, check)
test/mocha.js:7622
↓ 2 callersFunctionindexOf
(xs, x)
test/mocha.js:4669
↓ 2 callersFunctioninit
()
test/mocha.js:8498
↓ 2 callersFunctioninit$1
()
test/mocha.js:741
↓ 2 callersFunctioninsertLeading
(hunk, insert, their)
test/mocha.js:7886
↓ 2 callersFunctioninsertTrailing
(hunk, insert)
test/mocha.js:7894
↓ 2 callersFunctioninspect
(obj, opts)
test/mocha.js:3052
↓ 2 callersFunctionisBoolean
(arg)
test/mocha.js:3377
↓ 2 callersFunctionisBuiltIn
* Returns true if attribute/uniform is a reserved/built in * * It makes no sense to me why GL returns these because it's * illegal to call `gl.getU
src/programs.js:983
↓ 2 callersFunctionisCompressedInternalFormat
* @param {number} internalFormat The internal format * @returns if the internalFormat is a compressed format * @private
src/textures.js:537
↓ 2 callersFunctionisDate
(d)
test/mocha.js:3413
↓ 2 callersFunctionisError
* Check if argument is an instance of Error object or a duck-typed equivalent. * * @private * @param {Object} err - object to check * @par
test/mocha.js:15219
↓ 2 callersFunctionisFastBuffer
(obj)
test/mocha.js:10446
↓ 2 callersFunctionisFastBuffer$1
(obj)
test/mocha.js:2696
↓ 2 callersFunctionisIndices
(name)
src/attributes.js:114
↓ 2 callersFunctionisIndices
(name)
examples/js/browserified-example.js:270
↓ 2 callersFunctionisPowerOf2
* Returns true if value is power of 2 * @param {number} value number to check. * @return true if value is power of 2 * @private
src/textures.js:563
↓ 2 callersFunctionisPowerOf2
* Returns true if value is power of 2 * @param {number} value number to check. * @return true if value is power of 2 * @private
examples/js/browserified-example.js:7504
↓ 2 callersFunctionisTexImageSource
* check if object is a TexImageSource * * @param {Object} obj Object to test * @return {boolean} true if object is a TexImageSource * @private
src/textures.js:1403
↓ 2 callersFunctionk
(r)
3rdparty/chroma.min.js:58
↓ 2 callersFunctionlangHandlerForExtension
(extension, source)
3rdparty/prettify.js:1319
↓ 2 callersFunctionloadPatch
(param, base)
test/mocha.js:7566
↓ 2 callersFunctionmakeItWrapperThatChecksContextAndExtensions
(contextType)
test/webgl.js:91
↓ 2 callersFunctionmakeUrl
* Makes a URL, preserving querystring ("search") parameters. * * @param {string} s * @return {string} A new URL.
test/mocha.js:16850
↓ 2 callersFunctionmerge
(mine, theirs, base)
test/mocha.js:7490
↓ 2 callersFunctionn
(r,e,n)
3rdparty/chroma.min.js:58
↓ 2 callersFunctionneedFinish
(state)
test/mocha.js:5089
↓ 2 callersFunctionnormalizeArray
(parts, allowAboveRoot)
test/mocha.js:5567
↓ 2 callersFunctionnumberLines
* Given a DOM subtree, wraps it in a list, and puts each line into its own * list item. * * @param {Node} node modified in place. Its conten
3rdparty/prettify.js:991
↓ 2 callersFunctiono
(r,e)
3rdparty/chroma.min.js:58
↓ 2 callersFunctionp
()
3rdparty/chroma.min.js:58
↓ 2 callersFunctionparseFileHeader
(index)
test/mocha.js:6729
↓ 2 callersFunctionprefinish
(stream, state)
test/mocha.js:5093
↓ 2 callersFunctionprepShaderSource
* Remove the first end of line because WebGL 2.0 requires * #version 300 es * as the first line. No whitespace allowed before that line * so * *
src/programs.js:548
↓ 2 callersFunctionreadableAddChunk
(stream, state, chunk, encoding, addToFront)
test/mocha.js:3923
↓ 2 callersFunctionremoval
(hunk, mine, their, swap)
test/mocha.js:7846
↓ 2 callersFunctionrepeat
(s, n)
test/mocha.js:11100
↓ 2 callersFunctionreportError
* @param {module:twgl.ProgramOptions} progOptions * @param {string} msg * @return null * @private
src/programs.js:563
↓ 2 callersFunctionresetContext
(gl)
test/webgl.js:53
↓ 2 callersFunctionrestoreSkipState
* Restores state related to data size * @param {WebGLRenderingContext} gl the WebGLRenderingContext * @private
examples/js/browserified-example.js:7825
↓ 2 callersFunctionrunTimeout
(fun)
test/mocha.js:2723
↓ 2 callersFunctionrunTimeout$1
(fun)
test/mocha.js:34
↓ 2 callersFunctionrunway
()
test/mocha.js:18021
↓ 2 callersFunctionsaveSkipState
* Saves state related to data size * @param {WebGLRenderingContext} gl the WebGLRenderingContext * @private
examples/js/browserified-example.js:7807
↓ 2 callersFunctionsetBufferFromTypedArray
(gl, type, buffer, array, drawType)
src/attributes.js:88
↓ 2 callersFunctionsetBufferFromTypedArray
(gl, type, buffer, array, drawType)
examples/js/browserified-example.js:242
↓ 2 callersFunctionsetHookTitle
(hook)
test/mocha.js:14533
↓ 2 callersFunctionsetSkipStateToDefault
* Set skip state to defaults * @param {WebGLRenderingContext} gl the WebGLRenderingContext * @private
src/textures.js:862
↓ 2 callersFunctionsetTextureFilteringForSize
* Sets filtering or generates mips for texture based on width or height * If width or height is not passed in uses `options.width` and//or `options.h
src/textures.js:1097
↓ 2 callersFunctionsetTextureFilteringForSizeInternal
* Sets filtering or generates mips for texture based on width or height * If width or height is not passed in uses `options.width` and//or `options.h
src/textures.js:1053
↓ 2 callersFunctionsetTextureFromElement
* Set a texture from the contents of an element. Will also set * texture filtering or generate mips based on the dimensions of the element * unless
src/textures.js:1170
↓ 2 callersFunctionsetTextureFromElement
* Set a texture from the contents of an element. Will also set * texture filtering or generate mips based on the dimensions of the element * unless
examples/js/browserified-example.js:8111
↓ 2 callersFunctionsetTextureParameters
* Sets the texture parameters of a texture. * @param {WebGLRenderingContext} gl the WebGLRenderingContext * @param {WebGLTexture} tex the WebGLTextu
src/textures.js:938
↓ 2 callersFunctionsetTextureParameters
* Sets the texture parameters of a texture. * @param {WebGLRenderingContext} gl the WebGLRenderingContext * @param {WebGLTexture} tex the WebGLTextu
examples/js/browserified-example.js:7909
↓ 2 callersFunctionsetTextureSamplerParameters
* Sets the parameters of a texture or sampler * @param {WebGLRenderingContext} gl the WebGLRenderingContext * @param {number|WebGLSampler} target te
src/textures.js:883
↓ 2 callersFunctionsetTextureSamplerParameters
* Sets the parameters of a texture or sampler * @param {WebGLRenderingContext} gl the WebGLRenderingContext * @param {number|WebGLSampler} target te
examples/js/browserified-example.js:7848
↓ 2 callersFunctionshouldBeCloseArray
(a, b)
test/tests/m4-tests.js:65
↓ 2 callersFunctionskipRemoveSuperset
(state, removeChanges, delta)
test/mocha.js:7984
↓ 2 callersFunctionstringifyDiffObjs
(err)
test/mocha.js:15426
↓ 2 callersFunctiontestBindingNullToTexture
(gl)
test/tests/program-tests.js:1222
↓ 2 callersFunctionthrown2Error
* * Converts thrown non-extensible type into proper Error. * * @private * @param {*} thrown - Non-extensible type thrown by code * @ret
test/mocha.js:15231
↓ 2 callersFunctiontr
()
3rdparty/chroma.min.js:58
↓ 2 callersFunctiontrim
(arr)
test/mocha.js:5674
↓ 2 callersFunctionue
()
3rdparty/chroma.min.js:58
↓ 2 callersFunctionunhide
* Unhide .hidden suites.
test/mocha.js:16953
↓ 2 callersFunctionupdateCanvas
(time)
examples/textures-typescript.ts:101
↓ 2 callersFunctionuploadImg
(faceTarget)
src/textures.js:1574
↓ 2 callersFunctionuploadImg
(faceTarget)
examples/js/browserified-example.js:8537
↓ 2 callersFunctionutf8Slice
(buf, start, end)
test/mocha.js:9565
↓ 2 callersFunctionutf8Slice$1
(buf, start, end)
test/mocha.js:1815
↓ 2 callersFunctionvisit
(obj, file)
test/mocha.js:18952
↓ 2 callersFunctionw
(r)
3rdparty/chroma.min.js:58
↓ 2 callersFunctionwaitForProgramLinkCompletionAsync
(gl, program)
src/programs.js:860
↓ 2 callersFunctionwalk
(node)
3rdparty/prettify.js:536
← previousnext →301–400 of 1,258, ranked by callers