Class GLSupport
OpenGL support helper
class GLSupport;
Constructors
| Name | Description |
|---|---|
this
(legacy)
|
Properties
| Name | Type | Description |
|---|---|---|
legacyMode[get]
|
bool | |
projectionMatrix[get]
|
mat4 | |
queue[get]
|
dcanvas | |
valid[get]
|
bool |
Methods
| Name | Description |
|---|---|
beforeRenderGUI
()
|
|
bindFramebuffer
(fbo)
|
|
clearDepthBuffer
()
|
|
createFramebuffer
(texture, fbo, dx, dy)
|
returns texture for buffer, null if failed |
deleteFramebuffer
(fbo)
|
|
flushGL
()
|
call glFlush |
generateMipmap
(dx, dy, pixels, level, dst)
|
|
setOrthoProjection
(windowRect, view)
|
|
setPerspectiveProjection
(windowRect, view, fieldOfView, nearPlane, farPlane)
|
|
setTextureImage
(texture, dx, dy, pixels, mipmapLevels)
|
|
setTextureImageAlpha
(texture, dx, dy, pixels)
|
Aliases
| Name | Description |
|---|---|
~this
|