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
GenTextures
(n int32, textures *uint32)
hid/gl/gl_gl3.go:263
Function
GenVertexArrays
vao
hid/gl/gl_mobile.go:76
Function
GenVertexArrays
vao
hid/gl/gl_gl2.go:65
Function
GenVertexArrays
vao webgl 2.0才支持
hid/gl/gl_webgl.go:106
Function
GenVertexArrays
vao
hid/gl/gl_gl3.go:66
Method
GenerateMipmap
Creates a set of textures for a WebGLTexture object with image dimensions from the original size of the image down to a 1x1 image.
webav/webgl.go:668
Method
Get
(k int)
engi/array/map.go:26
Method
Get
(k int)
engi/array/map.go:71
Method
Get
Get returns the low-level Texture.
asset/mtexture.go:115
Method
Get
(file string)
asset/mpsconfig.go:48
Method
Get
(file string)
asset/maudio.go:48
Method
GetActiveAttrib
Returns an WebGLActiveInfo object containing the size, type, and name of a vertex attribute at a specific index position in a program object.
webav/webgl.go:674
Method
GetActiveUniform
Returns an WebGLActiveInfo object containing the size, type, and name of a uniform attribute at a specific index position in a program object.
webav/webgl.go:680
Method
GetAttachedShaders
Returns a slice of WebGLShaders bound to a WebGLProgram.
webav/webgl.go:685
Method
GetAttrLocation
(attr string)
gfx/bk/shader.go:159
Function
GetAttribLocation
(program uint32, name string)
hid/gl/gl_mobile.go:239
Function
GetAttribLocation
(program uint32, name string)
hid/gl/gl_gl2.go:232
Function
GetAttribLocation
(program uint32, name string)
hid/gl/gl_webgl.go:345
Function
GetAttribLocation
(program uint32, name string)
hid/gl/gl_gl3.go:233
Method
GetBufferParameter
TODO: Create type specific variations. Returns the type of a parameter for a given buffer.
webav/webgl.go:701
Method
GetByIndex
(index int)
gfx/R.go:152
Method
GetByName
(name string)
gfx/R.go:144
Method
GetClipRectMax
()
gui/drawing.go:231
Method
GetClipRectMin
()
gui/drawing.go:227
Method
GetContextAttributes
Returns the context attributes active on the context. These values might be different than what was requested on context creation if the browser's imp
webav/webgl.go:385
Function
GetError
()
hid/gl/gl_mobile.go:30
Function
GetError
()
hid/gl/gl_gl2.go:19
Function
GetError
()
hid/gl/gl_webgl.go:60
Function
GetError
()
hid/gl/gl_gl3.go:20
Function
GetErrors
()
gfx/bk/shader.go:167
Method
GetExtension
TODO: Create type specific variations. Enables a passed extension, otherwise returns null.
webav/webgl.go:718
Method
GetFramebufferAttachmentParameter
TODO: Create type specific variations. Gets a parameter value for a given target and attachment.
webav/webgl.go:724
Method
GetParameter
TODO: Create type specific variations. Returns the natural type value for a constant parameter.
webav/webgl.go:707
Function
GetProgramInfoLog
(program uint32)
hid/gl/gl_mobile.go:112
Function
GetProgramInfoLog
TODO 原来的实现中 buf = loglength + 1 的,需要测试这种情况...
hid/gl/gl_gl2.go:100
Function
GetProgramInfoLog
TODO 原来的实现中 buf = loglength + 1 的,需要测试这种情况...
hid/gl/gl_webgl.go:148
Function
GetProgramInfoLog
TODO 原来的实现中 buf = loglength + 1 的,需要测试这种情况...
hid/gl/gl_gl3.go:101
Method
GetProgramParameteri
Returns the value of the program parameter that corresponds to a supplied pname which is interpreted as an int.
webav/webgl.go:730
Function
GetProgramiv
(program uint32, pname uint32, params *int32)
hid/gl/gl_mobile.go:107
Function
GetProgramiv
TODO 目前只支持bool的获取
hid/gl/gl_webgl.go:140
Method
GetRaw
Get returns the low-level Texture.
asset/mtexture.go:121
Method
GetRenderbufferParameter
TODO: Create type specific variations. Returns a renderbuffer parameter from the currently bound WebGLRenderbuffer object.
webav/webgl.go:748
Function
GetShaderInfoLog
(shader uint32)
hid/gl/gl_mobile.go:133
Function
GetShaderInfoLog
(shader uint32)
hid/gl/gl_gl2.go:130
Function
GetShaderInfoLog
(shader uint32)
hid/gl/gl_webgl.go:188
Function
GetShaderInfoLog
(shader uint32)
hid/gl/gl_gl3.go:131
Method
GetShaderParameterb
Returns the value of the parameter associated with pname for a shader object.
webav/webgl.go:759
Method
GetShaderSource
Returns source code string associated with a shader object.
webav/webgl.go:769
Function
GetShaderiv
(shader uint32, pname uint32, params *int32)
hid/gl/gl_mobile.go:128
Function
GetShaderiv
(shader uint32, pname uint32, params *int32)
hid/gl/gl_gl2.go:126
Function
GetShaderiv
TODO 目前只支持bool的获取
hid/gl/gl_webgl.go:181
Function
GetShaderiv
(shader uint32, pname uint32, params *int32)
hid/gl/gl_gl3.go:127
Method
GetSupportedExtensions
Returns a slice of supported extension strings.
webav/webgl.go:774
Method
GetTexParameter
TODO: Create type specific variations. Returns the value for a parameter on an active texture unit.
webav/webgl.go:785
Method
GetUniform
TODO: Create type specific variations. Gets the uniform value for a specific location in a program.
webav/webgl.go:791
Function
GetUniformLocation
uniform
hid/gl/gl_mobile.go:180
Function
GetUniformLocation
uniform
hid/gl/gl_gl2.go:174
Function
GetUniformLocation
uniform
hid/gl/gl_webgl.go:256
Function
GetUniformLocation
uniform
hid/gl/gl_gl3.go:175
Method
GetVertexAttrib
TODO: Create type specific variations. Returns data for a particular characteristic of a vertex attribute at an index in a vertex attribute array.
webav/webgl.go:804
Method
GetVertexAttribOffset
Returns the address of a specified vertex attribute.
webav/webgl.go:809
Method
Glyph
implement fontAtlas-system
gfx/font/font.go:68
Method
Glyph
(r rune)
gfx/dbg/font.go:12
Function
Gravity
Options: gravity
gui/auto/gui.go:33
Method
Gravity
()
gfx/sprite.go:57
Method
Gravity
()
gfx/text.go:67
Method
Group
这个效率非常低,因为Group一次要对所有的Entity做一次线性的 查找..
game/tag.go:89
Method
Grow
(size int)
engi/array/map.go:52
Method
HasRange
HasRange returns whether Start and End is the same.
effect/simulate.go:56
Function
HintAndScale
()
gui/gui.go:112
Function
Hud
(format string, args... interface{})
gfx/dbg/hud.go:15
Function
HudFunc
(fn func() string)
gfx/dbg/hud.go:19
Method
Id
()
gfx/R.go:79
Function
Ident3
Ident3 returns the 3x3 identity matrix.
math/f32/matrix.go:83
Function
Ident4
Ident4 returns the 4x4 identity matrix.
math/f32/matrix.go:103
Function
Image
Widget: Image
gui/gui.go:32
Function
Image
Widget: Image
gui/auto/gui.go:68
Method
ImageBackground
(eventType EventType)
gui/gui_lib.go:192
Function
ImageButton
(id ID, bb Rect, normal, pressed gfx.Tex2D, style *ImageButtonStyle)
gui/gui.go:41
Function
ImageButton
(id gui.ID, normal, pressed gfx.Tex2D, style *gui.ImageButtonStyle, p *Options)
gui/auto/gui.go:83
Function
InBack
(t float64)
math/ease/back.go:3
Function
InCirc
(t float64)
math/ease/circle.go:5
Function
InCubic
(t float64)
math/ease/cubic.go:4
Function
InElastic
(t float64)
math/ease/elastic.go:5
Function
InExpo
(t float64)
math/ease/expo.go:5
Function
InOutBack
(t float64)
math/ease/back.go:14
Function
InOutBounce
(t float64)
math/ease/bounce.go:20
Function
InOutCirc
(t float64)
math/ease/circle.go:14
Function
InOutCubic
(t float64)
math/ease/cubic.go:13
Function
InOutElastic
(t float64)
math/ease/elastic.go:13
Function
InOutExpo
(t float64)
math/ease/expo.go:21
Function
InOutQuad
(t float64)
math/ease/quad.go:12
Function
InOutQuart
(t float64)
math/ease/quart.go:13
Function
InOutQuint
(t float64)
math/ease/quint.go:12
Function
InOutSine
(t float64)
math/ease/sine.go:13
Function
InOutSquare
(t float64)
math/ease/ease.go:26
Function
InQuad
(t float64)
math/ease/quad.go:4
Function
InQuart
(t float64)
math/ease/quart.go:4
Function
InQuint
(t float64)
math/ease/quint.go:3
Function
InSine
(t float64)
math/ease/sine.go:5
← previous
next →
1,001–1,100 of 1,776, ranked by callers