MCPcopy Create free account

hub / github.com/KorokEngine/Korok / functions

Functions1,776 in github.com/KorokEngine/Korok

↓ 3 callersMethodOnDestroy
窗口销毁
hid/lifecycle.go:15
↓ 3 callersMethodOnEnter
(g *Game)
game/scene.go:24
↓ 3 callersMethodOnExit
()
game/scene.go:26
↓ 3 callersMethodOnLoop
窗口循环
hid/lifecycle.go:12
↓ 3 callersMethodOnUpdate
Proxy the OnUpdate method. proxyAnimator uses the UpdateCallback to update values internally, the user UpdateCallback will be called after it.
anim/ween_basic.go:37
↓ 3 callersFunctionPackSortId
(z int16, b uint16)
gfx/data.go:113
↓ 3 callersMethodPathRect
(a, b f32.Vec2, rounding float32, corners FlagCorner)
gui/drawing.go:433
↓ 3 callersMethodRegion
uv
gfx/R.go:13
↓ 3 callersMethodRemoveChild
(c *Transform)
gfx/transform.go:195
↓ 3 callersMethodRequireTable
(tables []interface{})
game/script.go:102
↓ 3 callersMethodScale
(skx, sky float32)
gui/gui_lib.go:58
↓ 3 callersMethodSetConst
(n int32, x, y float32)
effect/chan.go:61
↓ 3 callersMethodSetScale
(factor float32)
game/fps.go:21
↓ 3 callersMethodSetSize
(w, h float32)
gui/auto/layout.go:382
↓ 3 callersMethodSetTexture
(id uint16)
gfx/mesh.go:70
↓ 3 callersMethodSetVolume
SetVolume set volume for all the channels in the pool.
audio/sine/pool.go:160
↓ 3 callersMethodSize
()
game/tag.go:99
↓ 3 callersMethodTempVertexBuffer
一帧之后自动释放
gfx/gctx.go:58
↓ 3 callersMethodTex2D
()
gfx/font/font.go:31
↓ 3 callersMethodUse
()
gfx/bk/shader.go:106
↓ 3 callersMethodVolume
()
audio/sine/pool.go:167
↓ 3 callersFunctioncstr2str
(x string)
hid/gl/gl_webgl.go:33
↓ 3 callersMethodfindSlot
(name string)
anim/spine/skeleton.go:29
↓ 3 callersMethodinitialize
(size int)
gfx/R.go:104
↓ 3 callersMethodinitialize
(am *AudioManger, engine *Engine, maxChannel int)
audio/sine/pool.go:37
↓ 3 callersMethodloadTexture
(file string)
asset/mtexture.go:139
↓ 3 callersMethodsetPosition
update world location: world = parent.world + self.local
gfx/transform.go:90
↓ 2 callersMethodAdd
合并两个矩形
gfx/visibility.go:25
↓ 2 callersMethodAddImage
(texId uint16, a, b f32.Vec2, uva, uvb f32.Vec2, color uint32)
gui/drawing.go:538
↓ 2 callersMethodAddItem
(x, y, w, h float32, name string, rotated bool)
gfx/R.go:124
↓ 2 callersMethodAddRect
所有非填充图形看来都是使用路径实现的
gui/drawing.go:467
↓ 2 callersMethodAlive
(e Entity)
engi/entity.go:66
↓ 2 callersMethodApply
(skeleton *Skeleton, time, alpha float32)
anim/spine/anim.go:8
↓ 2 callersMethodAt
At returns the matrix element at the given row and column.
math/f32/matrix.go:108
↓ 2 callersMethodBegin
(tex uint16, depth int16)
gfx/batch_render.go:89
↓ 2 callersMethodBeginLayout
(id gui.ID, opt *Options, xtype LayoutType)
gui/auto/layout.go:181
↓ 2 callersMethodCheckSlider
(id ID, bound *Rect)
gui/gui_lib.go:236
↓ 2 callersMethodColorBackground
偷师 flat-ui 中的设计,把空间的前景和背景分离,背景单独根据事件来变化.. 在 Android 中,Widget的前景和背景都可以根据控件状态发生变化 但是在大部分UI中,比如 Text/Image 只会改变背景的状态 偷懒的自定义UI,不做任何状态的改变... 所以说呢, 我们也采用偷懒的
gui/gui_lib.go:483
↓ 2 callersMethodCommands
()
gui/drawing.go:715
↓ 2 callersMethodCreate
init subsystem
game/game.go:155
↓ 2 callersMethodCreate
(fmt uint32, bits []byte, freq int32)
audio/sine/bk_al.go:183
↓ 2 callersMethodCreateBuffer
Creates and initializes a WebGLBuffer.
webav/webgl.go:517
↓ 2 callersMethodCreateTexture
Used to generate a WebGLTexture object to which images can be bound.
webav/webgl.go:543
↓ 2 callersMethodDefineLayout
(name string, xt ViewType)
gui/auto/gui_lib.go:164
↓ 2 callersMethodDelete
(entity engi.Entity)
game/script.go:66
↓ 2 callersMethodDelete
(entity engi.Entity)
game/tag.go:63
↓ 2 callersMethodDelete
(entity engi.Entity)
gfx/sprite.go:145
↓ 2 callersMethodDelete
(entity engi.Entity)
gfx/text.go:210
↓ 2 callersMethodDelete
(entity engi.Entity)
gfx/mesh.go:166
↓ 2 callersMethodDelete
(index int)
anim/ween/anim.go:130
↓ 2 callersMethodDelete
(entity engi.Entity)
effect/particle.go:135
↓ 2 callersMethodDeleteBuffer
Delete a specific buffer.
webav/webgl.go:553
↓ 2 callersMethodDeleteTexture
Deletes a specific texture object.
webav/webgl.go:585
↓ 2 callersMethodDrawCircle
default segment = 12 TODO, circle scale factor
gui/gui_lib.go:411
↓ 2 callersMethodElement
找出前一帧保存的大小
gui/auto/layout.go:119
↓ 2 callersMethodEndLayout
PopLayout, resume parent's state
gui/auto/layout.go:206
↓ 2 callersMethodFontSize
()
gfx/font/config.go:8
↓ 2 callersMethodFrame
(rune rune)
gfx/font/font.go:34
↓ 2 callersMethodGetShaderStr
(key string)
asset/mshader.go:6
↓ 2 callersMethodIndexBuffer
IndexBuffer returns the low-level IndexBuffer struct.
gfx/bk/R.go:241
↓ 2 callersMethodInitialize
Initialize defines a 3-D Matrix. | x | | y | | 1 | | e0 e3 e6 | | e1 e4 e7 | | e2 e5 e8 |
math/f32/matrix.go:46
↓ 2 callersFunctionInvLength
(x, y , fail float32)
math/f32.go:23
↓ 2 callersMethodJustReleased
()
gui/gui_lib.go:27
↓ 2 callersMethodLine
(from, to f32.Vec2)
gfx/dbg/dbg.go:340
↓ 2 callersMethodLinkChildren
(list... *Transform)
gfx/transform.go:170
↓ 2 callersMethodLoad
()
game/scene.go:12
↓ 2 callersMethodMul
(c float32)
math/f32/vector.go:21
↓ 2 callersMethodNewAtlas
纹理图集的管理是以纹理为单位.
gfx/R.go:181
↓ 2 callersMethodNewComp
(entity engi.Entity)
game/tag.go:34
↓ 2 callersMethodNewElement
创建新的Layout
gui/auto/layout.go:112
↓ 2 callersFunctionNewMeshTable
(cap int)
gfx/mesh.go:130
↓ 2 callersFunctionNewParticleSystemTable
(cap int)
effect/particle.go:97
↓ 2 callersFunctionNewSpriteTable
(cap int)
gfx/sprite.go:96
↓ 2 callersFunctionNewTextTable
(cap int)
gfx/text.go:172
↓ 2 callersMethodOnPause
窗口切入后台
hid/lifecycle.go:21
↓ 2 callersMethodOnResume
窗口切回?
hid/lifecycle.go:18
↓ 2 callersFunctionOutBounce
(t float64)
math/ease/bounce.go:8
↓ 2 callersFunctionOverlapAB
(a, b *AABB)
gfx/data.go:82
↓ 2 callersMethodP
()
gfx/camera.go:51
↓ 2 callersMethodParent
()
gfx/transform.go:221
↓ 2 callersMethodPathArcTo
(centre f32.Vec2, radius float32, min, max float32, segments int)
gui/drawing.go:414
↓ 2 callersMethodPause
(pause bool)
audio/sine/pool.go:63
↓ 2 callersMethodRegisterRender
register type-render
gfx/render_system.go:91
↓ 2 callersMethodRenderText
当前的实现中,不考虑裁切优化,全部绘制所有字符
gui/font.go:21
↓ 2 callersMethodResume
()
audio/sine/bk_al.go:252
↓ 2 callersMethodRewind
()
audio/sine/decoder.go:17
↓ 2 callersMethodSampleRate
()
audio/sine/decoder.go:14
↓ 2 callersMethodSet
Set sets the corresponding matrix element at the given row and column.
math/f32/matrix.go:113
↓ 2 callersMethodSetAttachment
(attachment Attachment)
anim/spine/slot.go:58
↓ 2 callersMethodSetCamera
(camera *Camera)
gfx/render_system.go:13
↓ 2 callersMethodSetRotation
apply
gfx/transform.go:139
↓ 2 callersMethodSetSprite
(spt Sprite)
gfx/sprite.go:31
↓ 2 callersMethodSetTexture
(stage uint8, samplerId uint16, texId uint16, flags uint32)
gfx/bk/queue.go:154
↓ 2 callersMethodSetToSetupPose
()
anim/spine/skeleton.go:107
↓ 2 callersMethodSharedIndexBuffer
64kb, format={3, 0, 1, 3, 1, 2}
gfx/gctx.go:114
↓ 2 callersMethodSimulate
Run the simulator with delta time.
effect/simulate.go:74
↓ 2 callersMethodSize
Size return the ParticleSize (in bytes) of the pool.
effect/pool.go:94
↓ 2 callersMethodSize
Return the ParticleSize of the simulator.
effect/simulate.go:80
↓ 2 callersMethodSound
(id uint16)
audio/sine/R.go:142
↓ 2 callersMethodText
()
gfx/text.go:54
← previousnext →201–300 of 1,776, ranked by callers