Search
Preparing search index...
The search index is not available
@ko-yelie/kgl
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@ko-yelie/kgl
Index
Namespaces
<internal>
Classes
Bloom
Blur
Godray
Godray
Light
Kgl
Auto
Kgl
Effect
Object
Gl
Program
Specular
Vec2
Vec3
Vec4
Zoomblur
default
Type Aliases
Array2
Array3
Array4
Effect
Instance
Framebuffer
Keyof
Effect
Kgl
Texture
Option
Option
Create
Program
Option
Program
Type Aliases
Array2
Array2
:
[
number
,
number
]
Array3
Array3
:
[
number
,
number
,
number
]
Array4
Array4
:
[
number
,
number
,
number
,
number
]
Effect
Instance
Effect
Instance
:
Blur
|
Specular
|
Bloom
|
Zoomblur
|
Godray
|
GodrayLight
Framebuffer
Framebuffer
:
{
depthRenderBuffer
?:
<internal>
.
WebGLRenderbuffer
;
framebuffer
:
<internal>
.
WebGLFramebuffer
;
isFloat
?:
boolean
;
texture
:
<internal>
.
WebGLTexture
;
textureIndex
:
number
}
Type declaration
Optional
depth
Render
Buffer
?:
<internal>
.
WebGLRenderbuffer
framebuffer
:
<internal>
.
WebGLFramebuffer
Optional
is
Float
?:
boolean
texture
:
<internal>
.
WebGLTexture
texture
Index
:
number
Keyof
Effect
Keyof
Effect
:
"blur"
|
"specular"
|
"bloom"
|
"zoomblur"
|
"godray"
|
"godrayLight"
Kgl
Texture
Kgl
Texture
:
{
isActive
:
boolean
;
src
:
string
;
texture
:
<internal>
.
WebGLTexture
;
textureIndex
:
number
}
Type declaration
is
Active
:
boolean
src
:
string
texture
:
<internal>
.
WebGLTexture
texture
Index
:
number
Option
Option
:
{
alpha
?:
boolean
;
ambientColor
?:
Vec3
|
Array3
;
cameraPosition
?:
Vec3
|
Array3
;
cameraRotation
?:
Vec2
|
Array2
;
canvas
?:
<internal>
.
HTMLCanvasElement
|
string
;
clearedColor
?:
Vec4
|
Array4
;
disableClear
?:
boolean
;
extraFar
?:
number
;
eyeDirection
?:
Vec3
|
Array3
;
far
?:
number
;
fov
?:
number
;
hasCamera
?:
boolean
;
hasLight
?:
boolean
;
isFullSize
?:
boolean
;
lightDirection
?:
Vec3
|
Array3
;
near
?:
number
;
pixelRatioFixed
?:
number
;
pixelRatioMax
?:
number
;
premultipliedAlpha
?:
boolean
;
stencil
?:
boolean
}
Type declaration
Optional
alpha
?:
boolean
Optional
ambient
Color
?:
Vec3
|
Array3
Optional
camera
Position
?:
Vec3
|
Array3
Optional
camera
Rotation
?:
Vec2
|
Array2
Optional
canvas
?:
<internal>
.
HTMLCanvasElement
|
string
Optional
cleared
Color
?:
Vec4
|
Array4
Optional
disable
Clear
?:
boolean
Optional
extra
Far
?:
number
Optional
eye
Direction
?:
Vec3
|
Array3
Optional
far
?:
number
Optional
fov
?:
number
Optional
has
Camera
?:
boolean
Optional
has
Light
?:
boolean
Optional
is
Full
Size
?:
boolean
Optional
light
Direction
?:
Vec3
|
Array3
Optional
near
?:
number
Optional
pixel
Ratio
Fixed
?:
number
Optional
pixel
Ratio
Max
?:
number
Optional
premultiplied
Alpha
?:
boolean
Optional
stencil
?:
boolean
Option
Create
Program
Option
Create
Program
:
{
isAutoAdd
?:
boolean
}
&
OptionProgram
Option
Program
Option
Program
:
{
attributes
?:
Attributes
;
data
?:
AnyData
;
drawType
?:
DrawType
;
fragmentShader
?:
string
;
fragmentShaderId
?:
string
;
hasCamera
?:
boolean
;
hasLight
?:
boolean
;
height
?:
number
;
instancedAttributes
?:
Attributes
;
isAdditive
?:
boolean
;
isAutoResolution
?:
boolean
;
isCulling
?:
boolean
;
isDepth
?:
boolean
;
isFloats
?:
boolean
;
isHidden
?:
boolean
;
isTransparent
?:
boolean
;
mode
?:
Mode
;
shape
?:
"plane"
|
"cube"
|
"cylinder"
|
"point"
;
size
?:
number
;
uniforms
?:
Uniforms
;
vertexShader
?:
string
;
vertexShaderId
?:
string
;
width
?:
number
}
&
<internal>
.
Option
Exports
<internal>
Bloom
Blur
Godray
Godray
Light
Kgl
Auto
Kgl
Effect
Object
Gl
Program
Specular
Vec2
Vec3
Vec4
Zoomblur
default
Array2
Array3
Array4
Effect
Instance
Framebuffer
Keyof
Effect
Kgl
Texture
Option
Option
Create
Program
Option
Program
Generated using
TypeDoc