MCPcopy Create free account

hub / github.com/GrayMind/WebGL-Programming-Guide / functions

Functions429 in github.com/GrayMind/WebGL-Programming-Guide

↓ 90 callersFunctiongetWebGLContext
* Initialize and get the rendering for WebGL * @param canvas <cavnas> element * @param opt_debug flag to initialize the context for debugging *
source/lib/cuon-utils.js:102
↓ 84 callersFunctioninitShaders
* Create a program object and make current * @param gl GL context * @param vshader a vertex shader program (string) * @param fshader a fragment
source/lib/cuon-utils.js:9
↓ 11 callersFunctioncreateProgram
* Create the linked program object * @param gl GL context * @param vshader a vertex shader program (string) * @param fshader a fragment shader p
source/lib/cuon-utils.js:29
↓ 6 callersFunctiondrawBox
(gl, n, width, height, depth, viewProjMatrix, u_MvpMatrix, u_NormalMatrix)
source/ch09/MultiJointModel.js:247
↓ 6 callersFunctiondrawSegment
(gl, n, buffer, viewProjMatrix, a_Position, u_MvpMatrix, u_NormalMatrix)
source/ch09/MultiJointModel_segment.js:311
↓ 5 callersFunctioninitArrayBufferForLaterUse
(gl, data, num, type)
source/ch09/MultiJointModel_segment.js:211
↓ 5 callersFunctioninitAttributeVariable
(gl, a_attribute, buffer)
source/ch10/ProgramObject.js:264
↓ 4 callersFunctionerror
()
source/ch10/Shadow.js:293
↓ 4 callersFunctionerror
()
source/ch10/Shadow_highp.js:303
↓ 4 callersFunctionerror
()
source/ch10/FramebufferObject.js:267
↓ 4 callersFunctionerror
()
source/ch10/Shadow_highp_sphere.js:325
↓ 4 callersFunctioninitArrayBufferForLaterUse
(gl, data, num, type)
source/ch10/Shadow.js:255
↓ 4 callersFunctioninitArrayBufferForLaterUse
(gl, data, num, type)
source/ch10/Shadow_highp.js:265
↓ 4 callersFunctioninitArrayBufferForLaterUse
(gl, data, num, type)
source/ch10/FramebufferObject.js:191
↓ 4 callersFunctioninitArrayBufferForLaterUse
(gl, data, num, type)
source/ch10/Shadow_highp_sphere.js:287
↓ 3 callersFunctioncreateEmptyArrayBuffer
(gl, a_attribute, num, type)
source/ch10/OBJViewer.js:102
↓ 3 callersFunctiondraw
(gl, n, currentAngle, viewProjMatrix, u_MvpMatrix)
source/ch10/HUD.js:173
↓ 3 callersFunctiondraw
(gl, n, currentAngle, viewProjMatrix, u_MvpMatrix)
source/ch10/PickFace.js:177
↓ 3 callersFunctiondraw
(gl, n, currentAngle, viewProjMatrix, u_MvpMatrix)
source/ch10/3DoverWeb.js:163
↓ 3 callersFunctiondraw
(gl, n, currentAngle, viewProjMatrix, u_MvpMatrix)
source/ch10/PickObject.js:165
↓ 3 callersFunctiondrawTexturedObject
(gl, program, o, texture)
source/ch10/FramebufferObject.js:370
↓ 3 callersFunctiondrawVerticesColors
(gl, verticesColors, matrix)
source/gifts/ThreeDUI.js:246
↓ 3 callersFunctioninitArrayBuffer
(gl, data, num, attribute)
source/ch08/LightedCube_perFragment.js:170
↓ 3 callersFunctioninitArrayBuffer
(gl, attribute, data, num, type)
source/ch08/LightedCube_animation.js:175
↓ 3 callersFunctioninitArrayBuffer
(gl, attribute, data, num, type)
source/ch08/PointLightedCube_animation.js:195
↓ 3 callersFunctioninitArrayBuffer
(gl, attribute, data, num)
source/ch08/LightedTranslatedRotatedCube.js:181
↓ 3 callersFunctioninitArrayBuffer
(gl, attribute, data, num, type)
source/ch08/LightedCube.js:157
↓ 3 callersFunctioninitArrayBuffer
(gl, attribute, data, num)
source/ch08/PointLightedCube_perFragment.js:191
↓ 3 callersFunctioninitArrayBuffer
(gl, attribute, data, num, type)
source/ch08/PointLightedCube.js:185
↓ 3 callersFunctioninitArrayBuffer
(gl, attribute, data, num)
source/ch08/LightedCube_ambient.js:166
↓ 3 callersFunctioninitArrayBuffer
(gl, data, type, num, attribute)
source/ch10/Picking.js:196
↓ 3 callersFunctioninitArrayBuffer
(gl, data, type, num, attribute)
source/ch10/PickFace.js:199
↓ 3 callersFunctioninitArrayBufferForLaterUse
(gl, data, num, type)
source/ch10/ProgramObject.js:294
↓ 3 callersFunctionwrapEvent
(listener)
source/lib/webgl-debug.js:552
↓ 2 callersFunctioncalcNormal
(p0, p1, p2)
source/ch10/OBJViewer.js:660
↓ 2 callersFunctioncalcNormal
(p0, p1, p2)
source/ch10/MQOParser.js:408
↓ 2 callersFunctioncheckInit
* Checks the utils have been initialized.
source/lib/webgl-debug.js:126
↓ 2 callersFunctiondraw
(gl, n, viewProjMatrix, u_MvpMatrix, u_NormalMatrix)
source/ch09/MultiJointModel.js:191
↓ 2 callersFunctiondraw
(gl, n, viewProjMatrix, u_MvpMatrix, u_NormalMatrix)
source/ch09/JointModel.js:177
↓ 2 callersFunctiondraw
(gl, n, viewProjMatrix, a_Position, u_MvpMatrix, u_NormalMatrix)
source/ch09/MultiJointModel_segment.js:255
↓ 2 callersFunctiondraw
(gl, n, currentAngle, viewProjMatrix, u_MvpMatrix)
source/ch10/Picking.js:174
↓ 2 callersFunctiondraw
(gl, program, o, viewProjMatrix)
source/ch10/Shadow.js:163
↓ 2 callersFunctiondraw
(gl, program, o, viewProjMatrix)
source/ch10/Shadow_highp.js:173
↓ 2 callersFunctiondraw
(gl, program, o, viewProjMatrix)
source/ch10/Shadow_highp_sphere.js:174
↓ 2 callersFunctiondraw
(gl, n, u_ViewMatrix, viewMatrix)
source/ch10/LookAtBlendedTriangles.js:142
↓ 2 callersFunctiondraw
(gl, n, u_ViewMatrix, viewMatrix)
source/ch07/LookAtTrianglesWithKeys_ViewVolume.js:132
↓ 2 callersFunctiondraw
(gl, n, u_ViewMatrix, viewMatrix)
source/ch07/LookAtTrianglesWithKeys.js:128
↓ 2 callersFunctiondraw
(gl, n, u_ProjMatrix, projMatrix, nf)
source/ch07/OrthoView_halfSize.js:133
↓ 2 callersFunctiondraw
(gl, n, u_ProjMatrix, projMatrix, nf)
source/ch07/OrthoView_halfWidth.js:133
↓ 2 callersFunctiondraw
(gl, n, u_ProjMatrix, projMatrix, nf)
source/ch07/OrthoView.js:130
↓ 2 callersFunctiondrawBox
(gl, n, viewProjMatrix, u_MvpMatrix, u_NormalMatrix)
source/ch09/JointModel.js:197
↓ 2 callersFunctiondrawCube
(gl, program, o, x, angle, viewProjMatrix)
source/ch10/ProgramObject.js:275
↓ 2 callersFunctiondrawPlane
(gl, program, plane, viewProjMatrix)
source/ch10/Shadow.js:157
↓ 2 callersFunctiondrawPlane
(gl, program, plane, viewProjMatrix)
source/ch10/Shadow_highp.js:167
↓ 2 callersFunctiondrawSphere
(gl, program, sphere, viewProjMatrix)
source/ch10/Shadow_highp_sphere.js:167
↓ 2 callersFunctiondrawTriangle
(gl, program, triangle, angle, viewProjMatrix)
source/ch10/Shadow.js:151
↓ 2 callersFunctiondrawTriangle
(gl, program, triangle, angle, viewProjMatrix)
source/ch10/Shadow_highp.js:161
↓ 2 callersFunctiondrawTriangle
(gl, program, triangle, angle, viewProjMatrix)
source/ch10/Shadow_highp_sphere.js:161
↓ 2 callersFunctiongetWordLength
(str, start)
source/ch10/OBJViewer.js:647
↓ 2 callersFunctiongetWordLength
(str, start)
source/ch10/MQOParser.js:395
↓ 2 callersFunctionglEnumToString
* Gets an string version of an WebGL enum. * * Example: * var str = WebGLDebugUtil.glEnumToString(ctx.getError()); * * @param {number} val
source/lib/webgl-debug.js:151
↓ 2 callersFunctioninitArrayBuffer
(gl, attribute, data, type, num)
source/ch08/PointLightedSphere.js:180
↓ 2 callersFunctioninitArrayBuffer
(gl, attribute, data, type, num)
source/ch08/PointLightedSphere_perFragment.js:186
↓ 2 callersFunctioninitArrayBuffer
(gl, attribute, data, type, num)
source/ch09/MultiJointModel.js:164
↓ 2 callersFunctioninitArrayBuffer
(gl, attribute, data, type, num)
source/ch09/JointModel.js:150
↓ 2 callersFunctioninitArrayBuffer
(gl, data, num, type, attribute)
source/ch10/BlendedCube.js:136
↓ 2 callersFunctioninitArrayBuffer
(gl, data, num, type, attribute)
source/ch10/RotateObject.js:180
↓ 2 callersFunctioninitArrayBuffer
(gl, data, num, type, attribute)
source/ch10/HUD.js:211
↓ 2 callersFunctioninitArrayBuffer
(gl, data, type, num, attribute)
source/ch10/3DoverWeb.js:185
↓ 2 callersFunctioninitArrayBuffer
(gl, data, type, num, attribute)
source/ch10/Fog_w.js:155
↓ 2 callersFunctioninitArrayBuffer
(gl, data, num, type, attribute)
source/ch10/Fog.js:183
↓ 2 callersFunctioninitArrayBuffer
(gl, data, type, num, attribute)
source/ch10/PickObject.js:187
↓ 2 callersFunctioninitArrayBuffer
(gl, data, num, type, attribute)
source/ch07/ColoredCube.js:129
↓ 2 callersFunctioninitArrayBuffer
(gl, data, num, type, attribute)
source/ch07/ColoredCube_singleColor.js:129
↓ 2 callersFunctioninitAttributeVariable
(gl, a_attribute, buffer)
source/ch10/Shadow.js:179
↓ 2 callersFunctioninitAttributeVariable
(gl, a_attribute, buffer)
source/ch10/Shadow_highp.js:189
↓ 2 callersFunctioninitAttributeVariable
(gl, a_attribute, buffer)
source/ch10/FramebufferObject.js:385
↓ 2 callersFunctioninitAttributeVariable
(gl, a_attribute, buffer)
source/ch10/Shadow_highp_sphere.js:190
↓ 2 callersFunctioninitElementArrayBufferForLaterUse
(gl, data, type)
source/ch10/Shadow.js:273
↓ 2 callersFunctioninitElementArrayBufferForLaterUse
(gl, data, type)
source/ch10/Shadow_highp.js:283
↓ 2 callersFunctioninitElementArrayBufferForLaterUse
(gl, data, type)
source/ch10/FramebufferObject.js:209
↓ 2 callersFunctioninitElementArrayBufferForLaterUse
(gl, data, type)
source/ch10/Shadow_highp_sphere.js:305
↓ 2 callersFunctioninitParticle
(p, wait)
source/gifts/Particle.js:216
↓ 2 callersFunctionloadShader
* Create a shader object * @param gl GL context * @param type the type of the shader object to be created * @param source shader program (string
source/lib/cuon-utils.js:70
↓ 2 callersFunctionloadTexture
(gl, n, texture, u_Sampler, image, texUnit)
source/ch05/MultiTexture.js:138
↓ 2 callersFunctionmakeWebGLContextEvent
(statusMessage)
source/lib/webgl-debug.js:371
↓ 2 callersFunctionpopMatrix
()
source/ch09/MultiJointModel.js:240
↓ 2 callersFunctionpushMatrix
(m)
source/ch09/MultiJointModel.js:235
↓ 2 callersFunctionreadShaderFile
(gl, fileName, shader)
source/Appendix/LoadShaderFromFiles.js:88
↓ 2 callersFunctionstart
(canvas)
source/ch10/RotatingTriangle_contextLost.js:33
↓ 2 callersFunctiontrimFrom
(target, separator)
source/gifts/ThreeDUI.js:95
↓ 2 callersFunctiontrimTo
(target, separator)
source/gifts/ThreeDUI.js:89
↓ 2 callersFunctionuseColorShader
(gl)
source/gifts/ThreeDUI.js:174
↓ 2 callersFunctionuseTextureShader
(gl)
source/gifts/ThreeDUI.js:199
↓ 1 callersFunctionanimate
(angle)
source/ch08/LightedCube_animation.js:202
↓ 1 callersFunctionanimate
(angle)
source/ch08/PointLightedCube_animation.js:222
↓ 1 callersFunctionanimate
(angle)
source/ch10/Picking.js:187
↓ 1 callersFunctionanimate
(angle)
source/ch10/OBJViewer.js:201
↓ 1 callersFunctionanimate
(angle)
source/ch10/RotatingTriangle_contextLost.js:128
↓ 1 callersFunctionanimate
(angle)
source/ch10/Shadow.js:351
next →1–100 of 429, ranked by callers