MCPcopy Create free account

hub / github.com/KorokEngine/Korok / functions

Functions1,776 in github.com/KorokEngine/Korok

↓ 2 callersMethodText
(id ID, bb *Rect, text string, style *TextStyle)
gui/gui_lib.go:114
↓ 2 callersMethodText
(id g.ID, text string, style *g.TextStyle, opt *Options)
gui/auto/gui_lib.go:28
↓ 2 callersMethodTick
TODO: This method has little Latency. Burst effects will use up all the play-channel quickly.
audio/sine/pool.go:69
↓ 2 callersMethodTryWrite
(data []byte)
audio/sine/bk_windows.go:278
↓ 2 callersMethodTryWrite
(data []byte)
audio/sine/bk_webgl.go:109
↓ 2 callersFunctionU32Color
Color value should follow byte-order: 0xAABBGGRR
gfx/data.go:35
↓ 2 callersFunctionUnpackSortId
(sortId uint32)
gfx/data.go:119
↓ 2 callersMethodValue
Returns the interpolated value for the current value of the given Animator.
anim/ween/tweens.go:74
↓ 2 callersMethodVertexBuffer
VertexBuffer returns the low-level VertexBuffer struct.
gfx/bk/R.go:250
↓ 2 callersMethodView
()
gfx/camera.go:61
↓ 2 callersMethodWarmTime
()
effect/simulate.go:92
↓ 2 callersMethodaddGlyphs
(r rune, g Glyph)
gfx/font/font.go:89
↓ 2 callersFunctionaudioType
(name string)
asset/maudio.go:56
↓ 2 callersFunctioncompileShader
编译着色器小程序, 类型: gl.VertexShader or gl.fragmentShader 如果错误,提取错误信息并返回
gfx/bk/shader.go:204
↓ 2 callersFunctioncos
(r float32)
math/f32/matrix.go:78
↓ 2 callersFunctiondecode
Read returns raw wav data from an input reader
audio/wav/decoder.go:52
↓ 2 callersMethodend
commit a batch
gfx/batch_render.go:179
↓ 2 callersFunctionf216
(f32 []float32, i16 []int16)
audio/ogg/decoder_vorbis.go:114
↓ 2 callersMethodfill
()
audio/sine/bk_al.go:345
↓ 2 callersMethodfill
()
audio/sine/bk_windows.go:492
↓ 2 callersMethodfill
()
audio/sine/bk_webgl.go:330
↓ 2 callersMethodfill
()
audio/sine/bk_sl.go:546
↓ 2 callersFunctionfilterFromName
(name string)
anim/spine/atlas.go:320
↓ 2 callersMethodflushBuffer
flushBuffer() will write and switch vertex-buffer we must submit batch with a end() method
gfx/batch_render.go:207
↓ 2 callersFunctiongetFormat
(channels, depth int32)
audio/sine/R.go:149
↓ 2 callersMethodhead
()
audio/wav/decoder.go:169
↓ 2 callersMethodhead
()
audio/ogg/decoder_vorbis.go:79
↓ 2 callersFunctioninit
()
hid/window_glfw.go:18
↓ 2 callersMethodloadTex
(img *image.RGBA)
gfx/font/font.go:93
↓ 2 callersFunctionmax
(a, b int)
audio/sine/bk_webgl.go:46
↓ 2 callersFunctionmb2mi
(x map[string]bool)
webav/webgl.go:42
↓ 2 callersMethodnewParticle
(new int)
effect/sim_radius.go:98
↓ 2 callersMethodnewParticle
(new int)
effect/sim_gravity.go:141
↓ 2 callersFunctionnormalize
(x, y float32, n *[2]float32)
effect/chan.go:162
↓ 2 callersMethodrelease
()
gfx/gctx.go:95
↓ 2 callersMethodreset
()
gfx/transform.go:238
↓ 2 callersMethodreset
()
gfx/bk/queue.go:61
↓ 2 callersMethodsetGameSize
(w, h float32)
game/game.go:144
↓ 2 callersMethodsetPaused
func (app appState) Paused() (paused bool, old bool){ paused = app.now.paused old = app.old.paused return } func (app appState) Focused() (focused
game/game.go:68
↓ 2 callersMethodsetRotation
(parent *SRT, rotation float32)
gfx/transform.go:155
↓ 2 callersMethodsetScale
(parent *SRT, scale f32.Vec2)
gfx/transform.go:122
↓ 2 callersFunctionsin
(r float32)
math/f32/matrix.go:74
↓ 2 callersFunctionsizeOf
(t ChanType)
effect/pool.go:81
↓ 2 callersFunctiontoColor
(colorStr string)
anim/spine/spine.go:305
↓ 2 callersMethodupdateHint
()
gui/gui_lib.go:527
↓ 1 callersMethodAdd
(v2 Vec2)
math/f32/vector.go:13
↓ 1 callersMethodAddAttachment
(slotIndex int, name string, attachment Attachment)
anim/spine/skin.go:25
↓ 1 callersMethodAddCircle
(centre f32.Vec2, radius float32, color uint32, segments int, thickness float32)
gui/drawing.go:519
↓ 1 callersMethodAddCircleFilled
(centre f32.Vec2, radius float32, color uint32, segments int)
gui/drawing.go:525
↓ 1 callersMethodAddClipRect
(x, y, w, h uint16)
gfx/bk/renderc.go:57
↓ 1 callersMethodAddConvexPolyFilled
Non Anti-aliased Fill
gui/drawing.go:373
↓ 1 callersMethodAddImageQuad
(texId uint16, a, b, c, d f32.Vec2, uva, uvb, uvc, uvd f32.Vec2, color uint32)
gui/drawing.go:549
↓ 1 callersMethodAddPolyLine
此处生成最终的顶点数据和索引数据 当前并不支持抗锯齿!!简单的用顶点生成线段
gui/drawing.go:323
↓ 1 callersMethodAddQuadFilled
(a, b, c, d f32.Vec2, color uint32)
gui/drawing.go:497
↓ 1 callersMethodAddRectFilled
(min, max f32.Vec2, color uint32, rounding float32, corner FlagCorner)
gui/drawing.go:474
↓ 1 callersMethodAdvance
重新计算父容器的光标位置
gui/auto/layout.go:333
↓ 1 callersMethodAllocBuffer
(vertexSize, indexSize int)
effect/particle.go:289
↓ 1 callersMethodAnimate
动画核心算法
anim/ween/anim.go:67
↓ 1 callersMethodAnyKeyChanged
()
hid/input/input.go:70
↓ 1 callersFunctionAudioDefaultAttributes
AudioDefaultAttributes 返回默认属性
webav/webaudio.go:32
↓ 1 callersMethodBeginElement
(id gui.ID, opt *Options)
gui/auto/layout.go:237
↓ 1 callersMethodBind
(stage int32)
gfx/bk/texture.go:58
↓ 1 callersMethodBindAttributes
如果 AttrBinds 指定了一个 Stream,但是 Stream 并没有提供相应的数据(stride < Offset) 此时应该 disable 当前 Attribute,
gfx/bk/shader.go:29
↓ 1 callersMethodBitDepth
()
audio/sine/decoder.go:13
↓ 1 callersMethodBorder
(x, y, w, h, thick float32)
gfx/dbg/dbg.go:369
↓ 1 callersMethodButton
查询虚拟按键的状态
hid/input/input.go:66
↓ 1 callersMethodButton
Widget: Button
gui/gui_lib.go:141
↓ 1 callersMethodButton
Widget: Button
gui/auto/gui_lib.go:76
↓ 1 callersMethodCircle
(x, y float32, radius float32)
gfx/dbg/dbg.go:376
↓ 1 callersMethodClear
()
game/scene.go:112
↓ 1 callersMethodClear
TODO
gui/drawing.go:131
↓ 1 callersMethodClear
(names ...string)
gui/auto/gui_lib.go:174
↓ 1 callersMethodClose
()
audio/sine/bk_windows.go:311
↓ 1 callersMethodClose
()
audio/sine/bk_webgl.go:169
↓ 1 callersFunctionColorLerp
(from, to gfx.Color, f float32)
anim/ween/tweens.go:35
↓ 1 callersFunctionCompile
(vertex, fragment string)
gfx/bk/shader.go:171
↓ 1 callersMethodCopy
(ptr unsafe.Pointer, size uint32)
gfx/bk/uniform.go:81
↓ 1 callersFunctionCos
(r float32)
math/f32.go:68
↓ 1 callersMethodCreate
(size uint32, data unsafe.Pointer, flags uint16)
gfx/bk/buffer.go:17
↓ 1 callersMethodCreate
draw indirect >= es 3.0 or gl 4.0
gfx/bk/buffer.go:68
↓ 1 callersMethodCurrentClipRect
()
gui/drawing.go:165
↓ 1 callersMethodCurrentTextureId
()
gui/drawing.go:174
↓ 1 callersMethodDecode
(key uint64)
gfx/bk/sortkey.go:37
↓ 1 callersFunctionDefaultAttributes
Returns a copy of the default WebGL context attributes.
webav/webgl.go:51
↓ 1 callersMethodDestroy
destroy subsystem
game/game.go:227
↓ 1 callersMethodDestroy
()
gfx/bk/buffer.go:55
↓ 1 callersMethodDestroy
()
gfx/bk/buffer.go:103
↓ 1 callersMethodDestroy
(e Entity)
engi/entity.go:70
↓ 1 callersMethodDraggingEvent
(id ID, bound *Rect)
gui/gui_lib.go:278
↓ 1 callersMethodDrawDebugBorder
(x, y, w, h float32, color uint32)
gui/gui_lib.go:403
↓ 1 callersMethodDrawProfile
()
game/game.go:338
↓ 1 callersMethodEmpty
()
gui/drawing.go:120
↓ 1 callersMethodEndElement
(elem *Element)
gui/auto/layout.go:299
↓ 1 callersMethodExtend
重新计算父容器的大小 size + margin = BoundingBox
gui/auto/layout.go:309
↓ 1 callersMethodExtract
(v *View)
gfx/render_system.go:46
↓ 1 callersMethodFill
(vertex []PosTexColorVertex)
gfx/batch.go:40
↓ 1 callersMethodFindRegion
** Returns the first region found with the specified name. This method uses string comparison to find the region, so the result * should be cached rat
anim/spine/atlas.go:279
↓ 1 callersMethodFullDecode
helper method for in-memory decode
audio/sine/decoder.go:8
↓ 1 callersMethodGetChanVolume
GetChanVolume gets volume from the specified channel. Return false if not found.
audio/sine/pool.go:152
↓ 1 callersMethodGetProgramParameterb
Returns the value of the program parameter that corresponds to a supplied pname which is interpreted as a bool.
webav/webgl.go:736
← previousnext →301–400 of 1,776, ranked by callers