Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KorokEngine/Korok
/ functions
Functions
1,776 in github.com/KorokEngine/Korok
⨍
Functions
1,776
◇
Types & classes
332
↓ 2 callers
Method
Text
(id ID, bb *Rect, text string, style *TextStyle)
gui/gui_lib.go:114
↓ 2 callers
Method
Text
(id g.ID, text string, style *g.TextStyle, opt *Options)
gui/auto/gui_lib.go:28
↓ 2 callers
Method
Tick
TODO: This method has little Latency. Burst effects will use up all the play-channel quickly.
audio/sine/pool.go:69
↓ 2 callers
Method
TryWrite
(data []byte)
audio/sine/bk_windows.go:278
↓ 2 callers
Method
TryWrite
(data []byte)
audio/sine/bk_webgl.go:109
↓ 2 callers
Function
U32Color
Color value should follow byte-order: 0xAABBGGRR
gfx/data.go:35
↓ 2 callers
Function
UnpackSortId
(sortId uint32)
gfx/data.go:119
↓ 2 callers
Method
Value
Returns the interpolated value for the current value of the given Animator.
anim/ween/tweens.go:74
↓ 2 callers
Method
VertexBuffer
VertexBuffer returns the low-level VertexBuffer struct.
gfx/bk/R.go:250
↓ 2 callers
Method
View
()
gfx/camera.go:61
↓ 2 callers
Method
WarmTime
()
effect/simulate.go:92
↓ 2 callers
Method
addGlyphs
(r rune, g Glyph)
gfx/font/font.go:89
↓ 2 callers
Function
audioType
(name string)
asset/maudio.go:56
↓ 2 callers
Function
compileShader
编译着色器小程序, 类型: gl.VertexShader or gl.fragmentShader 如果错误,提取错误信息并返回
gfx/bk/shader.go:204
↓ 2 callers
Function
cos
(r float32)
math/f32/matrix.go:78
↓ 2 callers
Function
decode
Read returns raw wav data from an input reader
audio/wav/decoder.go:52
↓ 2 callers
Method
end
commit a batch
gfx/batch_render.go:179
↓ 2 callers
Function
f216
(f32 []float32, i16 []int16)
audio/ogg/decoder_vorbis.go:114
↓ 2 callers
Method
fill
()
audio/sine/bk_al.go:345
↓ 2 callers
Method
fill
()
audio/sine/bk_windows.go:492
↓ 2 callers
Method
fill
()
audio/sine/bk_webgl.go:330
↓ 2 callers
Method
fill
()
audio/sine/bk_sl.go:546
↓ 2 callers
Function
filterFromName
(name string)
anim/spine/atlas.go:320
↓ 2 callers
Method
flushBuffer
flushBuffer() will write and switch vertex-buffer we must submit batch with a end() method
gfx/batch_render.go:207
↓ 2 callers
Function
getFormat
(channels, depth int32)
audio/sine/R.go:149
↓ 2 callers
Method
head
()
audio/wav/decoder.go:169
↓ 2 callers
Method
head
()
audio/ogg/decoder_vorbis.go:79
↓ 2 callers
Function
init
()
hid/window_glfw.go:18
↓ 2 callers
Method
loadTex
(img *image.RGBA)
gfx/font/font.go:93
↓ 2 callers
Function
max
(a, b int)
audio/sine/bk_webgl.go:46
↓ 2 callers
Function
mb2mi
(x map[string]bool)
webav/webgl.go:42
↓ 2 callers
Method
newParticle
(new int)
effect/sim_radius.go:98
↓ 2 callers
Method
newParticle
(new int)
effect/sim_gravity.go:141
↓ 2 callers
Function
normalize
(x, y float32, n *[2]float32)
effect/chan.go:162
↓ 2 callers
Method
release
()
gfx/gctx.go:95
↓ 2 callers
Method
reset
()
gfx/transform.go:238
↓ 2 callers
Method
reset
()
gfx/bk/queue.go:61
↓ 2 callers
Method
setGameSize
(w, h float32)
game/game.go:144
↓ 2 callers
Method
setPaused
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 callers
Method
setRotation
(parent *SRT, rotation float32)
gfx/transform.go:155
↓ 2 callers
Method
setScale
(parent *SRT, scale f32.Vec2)
gfx/transform.go:122
↓ 2 callers
Function
sin
(r float32)
math/f32/matrix.go:74
↓ 2 callers
Function
sizeOf
(t ChanType)
effect/pool.go:81
↓ 2 callers
Function
toColor
(colorStr string)
anim/spine/spine.go:305
↓ 2 callers
Method
updateHint
()
gui/gui_lib.go:527
↓ 1 callers
Method
Add
(v2 Vec2)
math/f32/vector.go:13
↓ 1 callers
Method
AddAttachment
(slotIndex int, name string, attachment Attachment)
anim/spine/skin.go:25
↓ 1 callers
Method
AddCircle
(centre f32.Vec2, radius float32, color uint32, segments int, thickness float32)
gui/drawing.go:519
↓ 1 callers
Method
AddCircleFilled
(centre f32.Vec2, radius float32, color uint32, segments int)
gui/drawing.go:525
↓ 1 callers
Method
AddClipRect
(x, y, w, h uint16)
gfx/bk/renderc.go:57
↓ 1 callers
Method
AddConvexPolyFilled
Non Anti-aliased Fill
gui/drawing.go:373
↓ 1 callers
Method
AddImageQuad
(texId uint16, a, b, c, d f32.Vec2, uva, uvb, uvc, uvd f32.Vec2, color uint32)
gui/drawing.go:549
↓ 1 callers
Method
AddPolyLine
此处生成最终的顶点数据和索引数据 当前并不支持抗锯齿!!简单的用顶点生成线段
gui/drawing.go:323
↓ 1 callers
Method
AddQuadFilled
(a, b, c, d f32.Vec2, color uint32)
gui/drawing.go:497
↓ 1 callers
Method
AddRectFilled
(min, max f32.Vec2, color uint32, rounding float32, corner FlagCorner)
gui/drawing.go:474
↓ 1 callers
Method
Advance
重新计算父容器的光标位置
gui/auto/layout.go:333
↓ 1 callers
Method
AllocBuffer
(vertexSize, indexSize int)
effect/particle.go:289
↓ 1 callers
Method
Animate
动画核心算法
anim/ween/anim.go:67
↓ 1 callers
Method
AnyKeyChanged
()
hid/input/input.go:70
↓ 1 callers
Function
AudioDefaultAttributes
AudioDefaultAttributes 返回默认属性
webav/webaudio.go:32
↓ 1 callers
Method
BeginElement
(id gui.ID, opt *Options)
gui/auto/layout.go:237
↓ 1 callers
Method
Bind
(stage int32)
gfx/bk/texture.go:58
↓ 1 callers
Method
BindAttributes
如果 AttrBinds 指定了一个 Stream,但是 Stream 并没有提供相应的数据(stride < Offset) 此时应该 disable 当前 Attribute,
gfx/bk/shader.go:29
↓ 1 callers
Method
BitDepth
()
audio/sine/decoder.go:13
↓ 1 callers
Method
Border
(x, y, w, h, thick float32)
gfx/dbg/dbg.go:369
↓ 1 callers
Method
Button
查询虚拟按键的状态
hid/input/input.go:66
↓ 1 callers
Method
Button
Widget: Button
gui/gui_lib.go:141
↓ 1 callers
Method
Button
Widget: Button
gui/auto/gui_lib.go:76
↓ 1 callers
Method
Circle
(x, y float32, radius float32)
gfx/dbg/dbg.go:376
↓ 1 callers
Method
Clear
()
game/scene.go:112
↓ 1 callers
Method
Clear
TODO
gui/drawing.go:131
↓ 1 callers
Method
Clear
(names ...string)
gui/auto/gui_lib.go:174
↓ 1 callers
Method
Close
()
audio/sine/bk_windows.go:311
↓ 1 callers
Method
Close
()
audio/sine/bk_webgl.go:169
↓ 1 callers
Function
ColorLerp
(from, to gfx.Color, f float32)
anim/ween/tweens.go:35
↓ 1 callers
Function
Compile
(vertex, fragment string)
gfx/bk/shader.go:171
↓ 1 callers
Method
Copy
(ptr unsafe.Pointer, size uint32)
gfx/bk/uniform.go:81
↓ 1 callers
Function
Cos
(r float32)
math/f32.go:68
↓ 1 callers
Method
Create
(size uint32, data unsafe.Pointer, flags uint16)
gfx/bk/buffer.go:17
↓ 1 callers
Method
Create
draw indirect >= es 3.0 or gl 4.0
gfx/bk/buffer.go:68
↓ 1 callers
Method
CurrentClipRect
()
gui/drawing.go:165
↓ 1 callers
Method
CurrentTextureId
()
gui/drawing.go:174
↓ 1 callers
Method
Decode
(key uint64)
gfx/bk/sortkey.go:37
↓ 1 callers
Function
DefaultAttributes
Returns a copy of the default WebGL context attributes.
webav/webgl.go:51
↓ 1 callers
Method
Destroy
destroy subsystem
game/game.go:227
↓ 1 callers
Method
Destroy
()
gfx/bk/buffer.go:55
↓ 1 callers
Method
Destroy
()
gfx/bk/buffer.go:103
↓ 1 callers
Method
Destroy
(e Entity)
engi/entity.go:70
↓ 1 callers
Method
DraggingEvent
(id ID, bound *Rect)
gui/gui_lib.go:278
↓ 1 callers
Method
DrawDebugBorder
(x, y, w, h float32, color uint32)
gui/gui_lib.go:403
↓ 1 callers
Method
DrawProfile
()
game/game.go:338
↓ 1 callers
Method
Empty
()
gui/drawing.go:120
↓ 1 callers
Method
EndElement
(elem *Element)
gui/auto/layout.go:299
↓ 1 callers
Method
Extend
重新计算父容器的大小 size + margin = BoundingBox
gui/auto/layout.go:309
↓ 1 callers
Method
Extract
(v *View)
gfx/render_system.go:46
↓ 1 callers
Method
Fill
(vertex []PosTexColorVertex)
gfx/batch.go:40
↓ 1 callers
Method
FindRegion
** 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 callers
Method
FullDecode
helper method for in-memory decode
audio/sine/decoder.go:8
↓ 1 callers
Method
GetChanVolume
GetChanVolume gets volume from the specified channel. Return false if not found.
audio/sine/pool.go:152
↓ 1 callers
Method
GetProgramParameterb
Returns the value of the program parameter that corresponds to a supplied pname which is interpreted as a bool.
webav/webgl.go:736
← previous
next →
301–400 of 1,776, ranked by callers