MCPcopy Create free account

hub / github.com/KorokEngine/Korok / functions

Functions1,776 in github.com/KorokEngine/Korok

↓ 1 callersMethodSetChanVolume
SetChanVolume sets volume for the specified channel. It may fail if can't find the channel.
audio/sine/pool.go:144
↓ 1 callersMethodSetColor
(color Color)
gfx/text.go:50
↓ 1 callersMethodSetCompleteCallback
(index int, cb EndCallback)
anim/ween/anim.go:262
↓ 1 callersMethodSetCurve
(index int, cx1, cy1, cx2, cy2 float32)
anim/spine/curve.go:25
↓ 1 callersMethodSetDefault
SetDefault sets the default Scene before the Game start. It's designed for internal usage. You should not use it.
game/scene.go:70
↓ 1 callersMethodSetDesiredViewport
(w, h float32)
gfx/camera.go:156
↓ 1 callersMethodSetGravity
(x, y float32)
gui/auto/layout.go:373
↓ 1 callersMethodSetKeyEvent
更新 key 的状态
hid/input/input.go:127
↓ 1 callersMethodSetPointerEvent
更新 Mouse/Touch 状态
hid/input/input.go:134
↓ 1 callersMethodSetRealSize
(w, h float32)
gui/gui_lib.go:517
↓ 1 callersMethodSetScale
apply scale to child
gfx/transform.go:106
↓ 1 callersMethodSetScissor
(x, y, width, height uint16)
gfx/bk/queue.go:181
↓ 1 callersMethodSetScissorCached
(id uint16)
gfx/bk/queue.go:187
↓ 1 callersMethodSetSkin
(skin *Skin)
anim/spine/skeleton.go:157
↓ 1 callersMethodSetStencil
(stencil uint32)
gfx/bk/queue.go:177
↓ 1 callersMethodSetStepped
(index int)
anim/spine/curve.go:21
↓ 1 callersMethodSetTexture
(tex gfx.Tex2D)
effect/particle.go:34
↓ 1 callersMethodSetToSetupPose
()
anim/spine/bone.go:62
↓ 1 callersMethodSetToSetupPose
()
anim/spine/slot.go:43
↓ 1 callersMethodSetTransform
Transform 是 uniform 之一,2D 世界可以省略
gfx/bk/queue.go:173
↓ 1 callersMethodSetUVs
(u float32, v float32, u2 float32, v2 float32, rotate bool)
anim/spine/attachment.go:45
↓ 1 callersMethodSetUpdateCallback
(index int, cb UpdateCallback)
anim/ween/anim.go:256
↓ 1 callersMethodSetViewClear
(id uint8, flags uint16, rgba uint32, depth float32, stencil uint8)
gfx/bk/queue.go:208
↓ 1 callersMethodSetViewPort
TODO:相机默认位置应该在屏幕中间
gfx/camera.go:140
↓ 1 callersMethodSetViewPort
(id uint8, x, y, width, height uint16)
gfx/bk/queue.go:200
↓ 1 callersMethodSetViewPort
(x,y, w,h float32)
gfx/dbg/dbg.go:181
↓ 1 callersMethodSetViewScissor
View Related Setting
gfx/bk/queue.go:192
↓ 1 callersMethodSetViewTransform
(id uint8, view, proj *f32.Mat4, flags uint8)
gfx/bk/queue.go:220
↓ 1 callersMethodSetVirtualSize
(w, h float32)
gui/gui_lib.go:522
↓ 1 callersMethodSetup
(g *Game)
game/scene.go:50
↓ 1 callersMethodShader
Shader returns the low-level Shader struct.
gfx/bk/R.go:277
↓ 1 callersMethodSimulate
(dt float32)
effect/sim_fire.go:70
↓ 1 callersMethodSimulate
(dt float32)
effect/sim_radius.go:75
↓ 1 callersFunctionSin
(r float32)
math/f32.go:64
↓ 1 callersMethodSkeleton
()
anim/spine/slot.go:71
↓ 1 callersMethodSlider
(id ID, bb *Rect, value *float32, style *SliderStyle)
gui/gui_lib.go:211
↓ 1 callersMethodSlider
Slider 需要设定一些自定义的属性,目前没有想好如何实现,先把逻辑实现了 用两种颜色来绘制
gui/auto/gui_lib.go:135
↓ 1 callersMethodSmooth
()
game/fps.go:35
↓ 1 callersMethodState
()
audio/sine/bk_al.go:271
↓ 1 callersMethodStep
()
gfx/gctx.go:104
↓ 1 callersMethodStopChan
(chanId int)
audio/sine/pool.go:124
↓ 1 callersFunctionSubmit
Submit primitive for rendering. Default depth is zero. Returns Number of drawCall calls.
gfx/bk/bk.go:110
↓ 1 callersMethodSwap
Swap swap all the field defined in the pool.
effect/pool.go:117
↓ 1 callersMethodTransformCoord
(x, y float32)
gfx/camera.go:258
↓ 1 callersMethodTransformNormal
(x, y float32)
gfx/camera.go:264
↓ 1 callersMethodUnLoad
(sn Scene)
game/scene.go:44
↓ 1 callersMethodUniform
Uniform returns the low-level Uniform struct.
gfx/bk/R.go:268
↓ 1 callersFunctionUniform_decode
Uniform ENCODE FORMAT 0x FF FF FF FF ^ ^ ^ ^ | | | | type-+ | | +--- Num loc ---+ +------ size
gfx/bk/uniform.go:106
↓ 1 callersFunctionUniform_encode
(uType UniformType, loc, size, num uint8)
gfx/bk/uniform.go:113
↓ 1 callersMethodUnload
()
game/scene.go:16
↓ 1 callersMethodUnload
(page *AtlasPage)
anim/spine/atlas.go:401
↓ 1 callersMethodUnloadSound
(id uint16)
audio/sine/R.go:138
↓ 1 callersMethodUpdate
()
game/game.go:288
↓ 1 callersMethodUpdate
(dt float32)
game/script.go:12
↓ 1 callersMethodUpdateClipRect
will result in new draw-call
gui/drawing.go:182
↓ 1 callersMethodUseTheme
Theme:
gui/gui_lib.go:497
↓ 1 callersMethodValid
()
anim/ween/animator.go:43
↓ 1 callersFunctionVec2Lerp
(from, to f32.Vec2, f float32)
anim/ween/tweens.go:27
↓ 1 callersMethodWrite
(waveOut uintptr, data []byte)
audio/sine/bk_windows.go:226
↓ 1 callersMethodWriteUInt32
(value uint32)
gfx/bk/uniform.go:75
↓ 1 callersMethodallocBuffer
(isz, vsz int)
gui/render.go:105
↓ 1 callersMethodallocChannel
channels ascend order
audio/sine/pool.go:107
↓ 1 callersMethodallocStaticData
(fmt uint32, bits []byte, freq int32)
audio/sine/R.go:116
↓ 1 callersMethodallocStreamData
(name string, ft FileType)
audio/sine/R.go:123
↓ 1 callersMethodattachAll
(skeleton *Skeleton, oldSkin *Skin)
anim/spine/skin.go:38
↓ 1 callersMethodbegin
(tex uint16, depth int16)
gfx/batch_render.go:149
↓ 1 callersMethodbindState
(changedFlags, newFlags uint64)
gfx/bk/renderc.go:228
↓ 1 callersMethodbindUniform
(begin, end uint32)
gfx/bk/renderc.go:193
↓ 1 callersFunctioncheckGLError
checkGLError returns an opengl error if one exists
gfx/font/misc.go:48
↓ 1 callersMethodcreate
(program uint32, name string, xType UniformType, num uint32)
gfx/bk/uniform.go:38
↓ 1 callersMethoddraw
()
gfx/dbg/hud.go:29
↓ 1 callersMethoddrawComp
计算世界坐标并保存到 Batch 结构 3 ---- 2 | ` | | ` | 0------1
gfx/batch_render.go:162
↓ 1 callersFunctiondrawDrawCall
(x,y float32, dc int)
gfx/dbg/hud.go:73
↓ 1 callersFunctiondrawFps
(x, y float32, fps int)
gfx/dbg/hud.go:57
↓ 1 callersFunctioneffectCompResize
(slice []ParticleComp, size int)
effect/particle.go:158
↓ 1 callersMethodfillData
generate text-vertex with the string +----------+ | . | | . | | . | | . | +----------+ 1 * 1 quad for each char
gfx/text.go:105
↓ 1 callersMethodfindAnimation
(name string)
anim/spine/skeleton.go:47
↓ 1 callersMethodfindSkin
(name string)
anim/spine/skeleton.go:38
↓ 1 callersMethodformat
()
audio/sine/bk_al.go:205
↓ 1 callersFunctionformatFromName
(name string)
anim/spine/atlas.go:297
↓ 1 callersMethodframeCount
()
anim/spine/anim.go:159
↓ 1 callersFunctiongetProgramStatus
(program uint32)
gfx/bk/shader.go:227
↓ 1 callersFunctiongetShaderStatus
(shader uint32)
gfx/bk/shader.go:216
↓ 1 callersMethodinit
()
gfx/batch_render.go:143
↓ 1 callersMethodinit
(maxVertex uint32)
gfx/dbg/dbg.go:245
↓ 1 callersMethodinitIndexBuffer
()
gfx/gctx.go:121
↓ 1 callersMethodinitialize
()
game/fps.go:17
↓ 1 callersMethodinitialize
()
gui/auto/gui_lib.go:22
↓ 1 callersMethodinitialize
()
effect/simulate.go:273
↓ 1 callersMethodisZero
()
gfx/bk/queue.go:28
↓ 1 callersMethodload
(file string)
asset/mpsconfig.go:56
↓ 1 callersMethodloadAtlas
加载纹理图集
asset/mtexture.go:159
↓ 1 callersMethodloadTables
()
game/game.go:261
↓ 1 callersFunctionmax
(a, b int)
audio/sine/bk_windows.go:320
↓ 1 callersFunctionmeshResize
(slice []MeshComp, size int)
gfx/mesh.go:195
↓ 1 callersFunctionmin
(a, b int)
audio/sine/bk_windows.go:327
↓ 1 callersFunctionmin
(a, b int)
audio/sine/bk_webgl.go:53
↓ 1 callersFunctionms2mi
(x map[string]string)
webav/webaudio.go:23
↓ 1 callersFunctionnewDarkTheme
()
gui/style.go:125
↓ 1 callersFunctionnewDriver
(sampleRate, channelNum, bitDepthInBytes, bufferSizeInBytes int)
audio/sine/bk_windows.go:245
← previousnext →501–600 of 1,776, ranked by callers