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
Function
InSquare
(t float64)
math/ease/ease.go:10
Function
Init
(pixelRatio float32)
gfx/gctx.go:14
Function
Init
Init init the bk-api.
gfx/bk/bk.go:17
Function
Init
(w, h int)
gfx/dbg/dbg.go:46
Function
Init
()
hid/gl/gl_gl2.go:11
Function
Init
(canvas js.Value)
hid/gl/gl_webgl.go:45
Function
Init
()
hid/gl/gl_gl3.go:12
Function
Init
()
audio/audio.go:18
Function
Init
(df DecoderFactory)
audio/sine/sine.go:13
Method
Init
skip first index - 0
gfx/bk/R.go:95
Method
Init
()
gfx/bk/queue.go:116
Method
Init
()
gfx/bk/renderc.go:37
Function
InitContext
(drawContext interface{})
hid/gl/gl_mobile.go:21
Method
Initialize
()
audio/sine/bk_al.go:213
Method
Initialize
()
audio/sine/bk_windows.go:367
Method
Initialize
()
audio/sine/bk_webgl.go:206
Method
Initialize
()
audio/sine/bk_sl.go:359
Method
Initialize
()
effect/sim_snow.go:55
Method
Initialize
()
effect/sim_explosion.go:53
Method
Initialize
Initialize init RateController with duration and emitter-rate.
effect/simulate.go:126
Method
Initialize
System 的生命周期中,应该安排一个 Initialize 的阶段
effect/simulate.go:271
Method
Initialize
()
effect/sim_fountain.go:59
Method
Input
(dt float32)
game/game.go:284
Function
InputText
Widgets: InputEditor
gui/gui.go:27
Function
InputText
Widgets: InputEditor
gui/auto/gui.go:63
Method
InputText
Widgets: InputEditor
gui/auto/gui_lib.go:53
Function
IntLerp
(from, to int, f float32)
anim/ween/tweens.go:19
Method
Integrate
(n int32, ch1 Channel_f32, dt float32)
effect/chan.go:53
Method
Integrate
(n int32, d Channel_v4, dt float32)
effect/chan.go:153
Function
InvSqrt
This is A approximate yet fast inverse square-root.
math/f32.go:14
Method
IsBuffer
public function hint(target:GLenum, mode:GLenum) : Void; Returns true if buffer is valid, false otherwise.
webav/webgl.go:816
Method
IsContextLost
Returns whether the WebGL context has been lost.
webav/webgl.go:821
Method
IsEmpty
()
gfx/bk/uniform.go:71
Method
IsEnabled
Returns whether or not a WebGL capability is enabled for this context.
webav/webgl.go:851
Method
IsFramebuffer
Returns true if buffer is valid, false otherwise.
webav/webgl.go:826
Function
IsPow2
IsPow2 returns true if the given value if a power-of-two.
math/i32.go:66
Method
IsProgram
Returns true if program object is valid, false otherwise.
webav/webgl.go:831
Method
IsRenderbuffer
Returns true if buffer is valid, false otherwise.
webav/webgl.go:836
Method
IsShader
Returns true if shader is valid, false otherwise.
webav/webgl.go:841
Method
IsTexture
Returns true if texture is valid, false otherwise.
webav/webgl.go:846
Method
IsZero
()
math/f32/vector.go:29
Function
Language
()
hid/hid_darwin.go:42
Function
Language
()
hid/hid_android.go:54
Function
Language
()
hid/hid_ios.go:54
Function
Language
()
hid/hid_webgl.go:9
Function
Layout
(id gui.ID, gui func(g *Group), w, h float32, xt LayoutType)
gui/auto/gui.go:126
Function
LayoutX
(id gui.ID, gui func(g *Group), opt *Options, xt LayoutType)
gui/auto/gui.go:135
Method
Len
()
gfx/render_system.go:34
Method
Len
()
gfx/bk/queue.go:296
Method
Len
()
gfx/bk/queue.go:314
Method
Len
()
math/f32/vector.go:25
Method
Less
(i, j int)
gfx/render_system.go:36
Method
Less
(i, j int)
gfx/bk/queue.go:305
Method
Less
(i, j int)
gfx/bk/queue.go:323
Method
LineWidth
Sets the width of lines in WebGL.
webav/webgl.go:856
Function
Linear
(t float64)
math/ease/ease.go:6
Function
LinkProgram
(program uint32)
hid/gl/gl_mobile.go:99
Function
LinkProgram
(program uint32)
hid/gl/gl_gl2.go:87
Function
LinkProgram
(program uint32)
hid/gl/gl_webgl.go:131
Function
LinkProgram
(program uint32)
hid/gl/gl_gl3.go:88
Function
ListView
Widget: ListView TODO
gui/gui.go:64
Function
ListView
Widget: ListView TODO
gui/auto/gui.go:107
Method
Load
设计合理的异步加载方案:TODO
game/scene.go:38
Method
Load
Load loads a single Texture file.
asset/mtexture.go:29
Method
Load
(file string)
asset/mpsconfig.go:25
Method
Load
Load loads a single Texture file.
asset/maudio.go:18
Method
LoadAtlas
LoadAtlas loads the atlas with a description file. The SubTexture can be found by SubTexture's name.
asset/mtexture.go:63
Method
LoadAtlasIndexed
LoadAtlasIndexed loads the atlas with specified with/height/num.
asset/mtexture.go:89
Function
LoadBitmap
LoadBitmap loads a bitmap (raster) fontAtlas from the given sprite sheet and config files. It is optionally scaled by the given scale factor. A scale
gfx/font/bitmap.go:21
Method
LoadBitmap
(name string, img, fc string)
asset/mfont.go:20
Function
LoadTrueType
http://www.freetype.org/freetype2/docs/tutorial/step2.html LoadTrueType loads a truetype fontAtlas from the given stream and applies the given fontAtl
gfx/font/truetype.go:23
Method
LoadTrueType
(name string, file string, lc font.TTFConfig)
asset/mfont.go:51
Function
LogFPS
(fps, drawCall int)
gfx/dbg/hud.go:7
Method
Loop
()
anim/frame/frame.go:59
Function
Margin
Options: margin
gui/auto/gui.go:26
Function
Max
(a, b float32)
math/f32.go:40
Function
Min
(a, b float32)
math/f32.go:47
Method
Mix
(skeleton *Skeleton, time float32, loop bool, alpha float32)
anim/spine/anim.go:333
Function
Mouse
Mouse event
hid/input/input.go:187
Function
Move
Convenient methods that uses to animate the Transform Component. Move the Entity to given value.
anim/ween_transform.go:12
Function
Move
Move sets the ui coordinate's origin to (x, y)
gui/gui.go:75
Method
Move
Options Operation
gui/auto/layout.go:144
Method
MoveBy
(dx, dy float32)
gfx/transform.go:83
Function
MoveX
Move the 'x' to given value.
anim/ween_transform.go:30
Function
MoveY
Move the 'y' to given value.
anim/ween_transform.go:50
Method
Mul
(c float32)
math/f32/vector.go:54
Function
MusicVolume
()
audio/audio.go:62
Method
Mute
(mute bool)
audio/sine/pool.go:59
Method
Name
()
anim/spine/attachment.go:8
Method
Name
()
anim/spine/attachment.go:33
Function
NeedVao
()
hid/gl/gl_mobile.go:17
Function
NeedVao
()
hid/gl/gl_gl2.go:15
Function
NeedVao
()
hid/gl/gl_webgl.go:55
Function
NeedVao
()
hid/gl/gl_gl3.go:16
Function
New
(r io.Reader, scale float32, loader AttachmentLoader)
anim/spine/spine.go:87
Method
NewAnimation
创建新的动画数据 现在 subText 还是指针,稍后会全部用 id 来索引。 动画资源全部存储在一个大的buffer里面,在外部使用索引引用即可. 采用这种设计,删除动画将会变得麻烦.. 或者说无法删除动画,只能全部删除或者完全重新加载... 如何动画以组的形式存在,那么便可以避免很多问题
anim/frame/anim.go:52
Function
NewAnimationSystem
()
anim/anim.go:18
Function
NewAtlas
(r io.Reader, loader TextureLoader)
anim/spine/atlas.go:17
Method
NewAttachment
(skin *Skin, _type, name string)
anim/spine/spine.go:67
Function
NewBatchRender
(vsh, fsh string)
gfx/batch_render.go:30
← previous
next →
1,101–1,200 of 1,776, ranked by callers