MCPcopy Create free account

hub / github.com/KorokEngine/Korok / functions

Functions1,776 in github.com/KorokEngine/Korok

↓ 5 callersMethodCreate
(vsh, fsh string)
gfx/bk/shader.go:110
↓ 5 callersMethodCreateProgram
Creates an empty WebGLProgram object to which vector and fragment WebGLShader objects can be bound.
webav/webgl.go:528
↓ 5 callersMethodCreateShader
Returns an empty vertex or fragment shader object based on the type specified.
webav/webgl.go:538
↓ 5 callersMethodDepthMask
Sets whether or not you can write to the depth buffer.
webav/webgl.go:596
↓ 5 callersMethodDown
()
hid/input/button.go:30
↓ 5 callersMethodDrawArrays
Render geometric primitives from bound and enabled vertex data.
webav/webgl.go:621
↓ 5 callersMethodDrawElements
Renders geometric primitives indexed by element array data.
webav/webgl.go:626
↓ 5 callersMethodDrawRect
(bb *Rect, fill gfx.Color, round float32)
gui/gui_lib.go:381
↓ 5 callersMethodEnableVertexAttribArray
Turns on a vertex attribute at a specific index position in a vertex attribute array.
webav/webgl.go:637
↓ 5 callersMethodEndElement
结束绘制, 每绘制完一个元素都要偏移一下光标
gui/auto/gui_lib.go:192
↓ 5 callersMethodGetError
Returns a value for the WebGL error flag and clears the flag.
webav/webgl.go:712
↓ 5 callersMethodGetProgramInfoLog
Returns information about the last error that occurred during the failed linking or validation of a WebGL program object.
webav/webgl.go:742
↓ 5 callersMethodGetShaderInfoLog
Returns errors which occur when compiling a shader.
webav/webgl.go:764
↓ 5 callersMethodGlyph
(rune rune)
gfx/font/font.go:32
↓ 5 callersMethodJustPressed
()
hid/input/button.go:22
↓ 5 callersMethodLinkProgram
Links an attached vertex shader and an attached fragment shader to a program so it can be used by the graphics processing unit (GPU).
webav/webgl.go:862
↓ 5 callersMethodNewComp
(entity engi.Entity)
gfx/sprite.go:103
↓ 5 callersMethodOnKeyEvent
(key int, pressed bool)
hid/lifecycle.go:29
↓ 5 callersMethodPathFillConvex
(col uint32)
gui/drawing.go:153
↓ 5 callersMethodPop
()
gfx/bk/R.go:54
↓ 5 callersMethodPush
(slot uint16)
gfx/bk/R.go:63
↓ 5 callersMethodPushTextureId
(texId uint16)
gui/drawing.go:235
↓ 5 callersMethodScissor
func (c *Context) SampleCoverage(value float64, invert bool) { c.Call("sampleCoverage", value, invert) } Sets the dimensions of the scissor box.
webav/webgl.go:895
↓ 5 callersMethodShaderSource
Sets and replaces shader source code in a shader object.
webav/webgl.go:900
↓ 5 callersMethodSibling
()
gfx/transform.go:228
↓ 5 callersMethodSize
()
game/script.go:85
↓ 5 callersMethodStop
()
effect/simulate.go:85
↓ 5 callersMethodTex
return texture id
gfx/R.go:11
↓ 5 callersMethodTexImage2D
public function stencilFunc(func:GLenum, ref:GLint, mask:GLuint) : Void; public function stencilFuncSeparate(face:GLenum, func:GLenum, ref:GLint, mask
webav/webgl.go:912
↓ 5 callersMethodTexSubImage2D
Replaces a portion of an existing 2D texture image with all of another image.
webav/webgl.go:922
↓ 5 callersMethodUniform1f
Assigns a floating point value to a uniform variable for the current program object.
webav/webgl.go:927
↓ 5 callersMethodUniform1fv
Assigns a floating point value to a uniform variable for the current program object.
webav/webgl.go:967
↓ 5 callersMethodUniform1iv
Assigns a integer value to a uniform variable for the current program object.
webav/webgl.go:972
↓ 5 callersMethodUniform2f
Assigns 2 floating point values to a uniform variable for the current program object.
webav/webgl.go:937
↓ 5 callersMethodUniform3f
Assigns 3 floating point values to a uniform variable for the current program object.
webav/webgl.go:947
↓ 5 callersMethodUniform4f
Assigns 4 floating point values to a uniform variable for the current program object.
webav/webgl.go:957
↓ 5 callersMethodUniformMatrix3fv
Sets values for a 3x3 floating point vector matrix into a uniform location as a matrix or a matrix array.
webav/webgl.go:1014
↓ 5 callersMethodVertexAttribPointer
(index, size, typ int, normal bool, stride int, offset int)
webav/webgl.go:1034
↓ 5 callersFunctionbinarySearch
(values []float32, target float32, step int)
anim/spine/anim.go:67
↓ 5 callersMethodclamp
()
gfx/camera.go:192
↓ 5 callersMethodfindBone
(name string)
anim/spine/skeleton.go:20
↓ 5 callersMethodframeCount
()
anim/spine/anim.go:279
↓ 5 callersFunctionreadValue
(expectedKey string, s *bufio.Scanner)
anim/spine/atlas.go:236
↓ 4 callersMethodAdd
(n int32, x, y float32)
effect/chan.go:73
↓ 4 callersMethodAllocIndexBuffer
AllocIndexBuffer alloc a new Index-Buffer, Return the resource handler.
gfx/bk/R.go:111
↓ 4 callersMethodAttachmentBySlotIndex
(index int, name string)
anim/spine/skeleton.go:169
↓ 4 callersMethodBuffer
()
audio/sine/decoder.go:15
↓ 4 callersMethodComp
(entity engi.Entity)
game/tag.go:56
↓ 4 callersMethodCurvePercent
(index int, percent float32)
anim/spine/curve.go:47
↓ 4 callersMethodDelete
Swap erase the TransformComp if exist Delete will unlink the parent-child relation
gfx/transform.go:300
↓ 4 callersMethodDrawImage
(bound *Rect, tex gfx.Tex2D, style *ImageStyle)
gui/gui_lib.go:426
↓ 4 callersMethodDrawText
绘制元素, bb 存储相对于父容器的相对坐标..
gui/gui_lib.go:459
↓ 4 callersMethodEnd
()
gfx/batch_render.go:97
↓ 4 callersMethodGetUniformLocation
Returns a WebGLUniformLocation object for the location of a uniform variable within a WebGLProgram object.
webav/webgl.go:797
↓ 4 callersMethodInRange
(p f32.Vec2)
gui/gui_lib.go:64
↓ 4 callersMethodInView
(xf *Transform, size, gravity f32.Vec2)
gfx/camera.go:208
↓ 4 callersMethodNewComp
(entity engi.Entity)
gfx/text.go:176
↓ 4 callersMethodNewComp
(entity engi.Entity)
gfx/mesh.go:134
↓ 4 callersMethodNewComp
(entity engi.Entity)
effect/particle.go:104
↓ 4 callersFunctionNewCurve
(frameCount int)
anim/spine/curve.go:7
↓ 4 callersFunctionNewScriptTable
(cap int)
game/script.go:32
↓ 4 callersFunctionNewTransformTable
(cap int)
gfx/transform.go:251
↓ 4 callersMethodOnResize
Resize...
hid/lifecycle.go:9
↓ 4 callersMethodPathArcToFast
此处圆角的算法: 使用一个12边形近似圆形,采用中心放射算法,计算出 各个角度的sin/cos, 然后通过公式,得到圆圆形顶点 f(x) = centre.x + cos()*radius f(y) = centre.y + sin()*radius 以上, 可以提前算好 sin/cos 加速整个过
gui/drawing.go:401
↓ 4 callersMethodPlay
()
effect/simulate.go:86
↓ 4 callersMethodPopTextureId
()
gui/drawing.go:239
↓ 4 callersMethodPosition
()
gfx/camera.go:87
↓ 4 callersMethodReachEnd
()
audio/sine/decoder.go:16
↓ 4 callersMethodReset
reset frame-buffer size
gfx/bk/queue.go:121
↓ 4 callersMethodSetIndexBuffer
(id uint16, firstIndex, num uint16)
gfx/bk/queue.go:135
↓ 4 callersMethodSetState
(state uint64, rgba uint32)
gfx/bk/queue.go:131
↓ 4 callersMethodSetVertexBuffer
(stream uint8, id uint16, firstVertex, numVertex uint16)
gfx/bk/queue.go:141
↓ 4 callersMethodSize
()
gfx/sprite.go:164
↓ 4 callersMethodSize
()
gfx/text.go:237
↓ 4 callersMethodSize
()
gfx/transform.go:345
↓ 4 callersMethodSize
()
gfx/mesh.go:191
↓ 4 callersMethodSize
()
effect/particle.go:154
↓ 4 callersFunctionU8Lerp
(from, to uint8, f float32)
anim/ween/tweens.go:9
↓ 4 callersFunctionconsume
(event js.Value)
hid/window_webgl.go:37
↓ 4 callersFunctionreadCurve
(curve *Curve, frameIndex int, data interface{})
anim/spine/spine.go:351
↓ 3 callersMethodAddText
(pos f32.Vec2, text string, font font.Font, fontSize float32, color uint32, wrapWidth float32)
gui/drawing.go:671
↓ 3 callersMethodAdvanceFrame
更新 Button 状态.... TODO 此处的输入状态,更新有bug!!
hid/input/input.go:89
↓ 3 callersMethodAllocShader
AllocShader compile and link the Shader source code, Return the resource handler.
gfx/bk/R.go:194
↓ 3 callersMethodAllocTexture
AllocTexture upload image to GPU, Return the resource handler.
gfx/bk/R.go:174
↓ 3 callersMethodAllocVertexBuffer
AllocVertexBuffer alloc a new Vertex-Buffer, Return the resource handler.
gfx/bk/R.go:132
↓ 3 callersMethodAttachment
(slotIndex int, name string)
anim/spine/skin.go:30
↓ 3 callersMethodClickEvent
(id ID, rect *Rect)
gui/gui_lib.go:256
↓ 3 callersFunctionColor
(argb uint32)
gfx/dbg/dbg.go:69
↓ 3 callersMethodDown
()
gui/gui_lib.go:31
↓ 3 callersMethodEncode
()
gfx/bk/sortkey.go:28
↓ 3 callersFunctionF32Lerp
(from, to float32, f float32)
anim/ween/tweens.go:23
↓ 3 callersMethodFile
(init func() string)
hid/hid_attr.go:8
↓ 3 callersMethodGene
()
engi/entity.go:35
↓ 3 callersMethodGetPos
()
gfx/bk/uniform.go:59
↓ 3 callersMethodJustPressed
()
gui/gui_lib.go:23
↓ 3 callersMethodJustReleased
()
hid/input/button.go:26
↓ 3 callersMethodLang
(init func() string)
hid/hid_attr.go:15
↓ 3 callersMethodLinkChild
(c *Transform)
gfx/transform.go:176
↓ 3 callersMethodOnComplete
Proxy the OnComplete method. proxyAnimator uses the CompleteCallback to remove itself from the TweenEngine, the user CompleteCallback will be called a
anim/ween_basic.go:44
↓ 3 callersMethodOnCreate
窗口创建
hid/lifecycle.go:6
← previousnext →101–200 of 1,776, ranked by callers