Package eu.webtoolkit.jwt
Class WServerGLWidget
java.lang.Object
eu.webtoolkit.jwt.WObject
eu.webtoolkit.jwt.WServerGLWidget
public class WServerGLWidget extends WObject
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.webtoolkit.jwt.WObject
WObject.FormData
-
Field Summary
Fields Modifier and Type Field Description protected boolean
debugging_
protected WGLWidget
glInterface_
protected int
renderHeight_
protected int
renderWidth_
protected boolean
sizeChanged_
protected boolean
updateGL_
protected boolean
updatePaintGL_
protected boolean
updateResizeGL_
protected JSignal
webglNotAvailable_
-
Constructor Summary
Constructors Constructor Description WServerGLWidget(WGLWidget glInterface)
-
Method Summary
Methods inherited from class eu.webtoolkit.jwt.WObject
addChild, getId, getObjectName, remove, setFormData, setObjectName, tr
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
glInterface_
-
updateGL_
protected boolean updateGL_ -
updateResizeGL_
protected boolean updateResizeGL_ -
updatePaintGL_
protected boolean updatePaintGL_ -
renderWidth_
protected int renderWidth_ -
renderHeight_
protected int renderHeight_ -
sizeChanged_
protected boolean sizeChanged_ -
debugging_
protected boolean debugging_ -
webglNotAvailable_
-
-
Constructor Details
-
WServerGLWidget
-
-
Method Details
-
debugger
public void debugger() -
activeTexture
-
attachShader
-
bindAttribLocation
-
bindBuffer
-
bindFramebuffer
-
bindRenderbuffer
-
bindTexture
-
blendColor
public void blendColor(double red, double green, double blue, double alpha) -
blendEquation
-
blendEquationSeparate
-
blendFunc
-
blendFuncSeparate
public void blendFuncSeparate(WGLWidget.GLenum srcRGB, WGLWidget.GLenum dstRGB, WGLWidget.GLenum srcAlpha, WGLWidget.GLenum dstAlpha) -
bufferData
-
bufferData
-
bufferData
public void bufferData(WGLWidget.GLenum target, WGLWidget.ArrayBuffer res, int arrayBufferOffset, int arrayBufferSize, WGLWidget.GLenum usage) -
bufferSubData
-
bufferSubData
public void bufferSubData(WGLWidget.GLenum target, int offset, WGLWidget.ArrayBuffer res, int arrayBufferOffset, int size) -
bufferDatafv
public void bufferDatafv(WGLWidget.GLenum target, java.nio.ByteBuffer v, WGLWidget.GLenum usage, boolean binary) -
bufferDatafv
-
bufferSubDatafv
public void bufferSubDatafv(WGLWidget.GLenum target, int offset, java.nio.ByteBuffer buffer, boolean binary) -
bufferSubDatafv
-
bufferDataiv
public void bufferDataiv(WGLWidget.GLenum target, java.nio.IntBuffer buffer, WGLWidget.GLenum usage, WGLWidget.GLenum type) -
bufferSubDataiv
public void bufferSubDataiv(WGLWidget.GLenum target, int offset, java.nio.IntBuffer buffer, WGLWidget.GLenum type) -
clear
-
clearColor
public void clearColor(double r, double g, double b, double a) -
clearStencil
public void clearStencil(int s) -
colorMask
public void colorMask(boolean red, boolean green, boolean blue, boolean alpha) -
clearDepth
public void clearDepth(double depth) -
compileShader
-
copyTexImage2D
public void copyTexImage2D(WGLWidget.GLenum target, int level, WGLWidget.GLenum internalFormat, int x, int y, int width, int height, int border) -
copyTexSubImage2D
public void copyTexSubImage2D(WGLWidget.GLenum target, int level, int xoffset, int yoffset, int x, int y, int width, int height) -
getCreateBuffer
-
createAndLoadArrayBuffer
-
getCreateFramebuffer
-
getCreateProgram
-
getCreateRenderbuffer
-
createShader
-
getCreateTexture
-
createTextureAndLoad
-
createPaintDevice
-
cullFace
-
deleteBuffer
-
deleteFramebuffer
-
deleteProgram
-
deleteRenderbuffer
-
deleteShader
-
deleteTexture
-
depthFunc
-
depthMask
public void depthMask(boolean flag) -
depthRange
public void depthRange(double zNear, double zFar) -
detachShader
-
disable
-
disableVertexAttribArray
-
drawArrays
-
drawElements
-
enable
-
enableVertexAttribArray
-
finish
public void finish() -
flush
public void flush() -
framebufferRenderbuffer
public void framebufferRenderbuffer(WGLWidget.GLenum target, WGLWidget.GLenum attachment, WGLWidget.GLenum renderbuffertarget, WGLWidget.Renderbuffer renderbuffer) -
framebufferTexture2D
public void framebufferTexture2D(WGLWidget.GLenum target, WGLWidget.GLenum attachment, WGLWidget.GLenum textarget, WGLWidget.Texture texture, int level) -
frontFace
-
generateMipmap
-
getAttribLocation
public WGLWidget.AttribLocation getAttribLocation(WGLWidget.Program program, java.lang.String attrib) -
getUniformLocation
public WGLWidget.UniformLocation getUniformLocation(WGLWidget.Program program, java.lang.String location) -
hint
-
lineWidth
public void lineWidth(double width) -
linkProgram
-
pixelStorei
-
polygonOffset
public void polygonOffset(double factor, double units) -
renderbufferStorage
public void renderbufferStorage(WGLWidget.GLenum target, WGLWidget.GLenum internalformat, int width, int height) -
sampleCoverage
public void sampleCoverage(double value, boolean invert) -
scissor
public void scissor(int x, int y, int width, int height) -
shaderSource
-
stencilFunc
-
stencilFuncSeparate
-
stencilMask
public void stencilMask(int mask) -
stencilMaskSeparate
-
stencilOp
-
stencilOpSeparate
public void stencilOpSeparate(WGLWidget.GLenum face, WGLWidget.GLenum fail, WGLWidget.GLenum zfail, WGLWidget.GLenum zpass) -
texImage2D
public void texImage2D(WGLWidget.GLenum target, int level, WGLWidget.GLenum internalformat, int width, int height, int border, WGLWidget.GLenum format) -
texImage2D
public void texImage2D(WGLWidget.GLenum target, int level, WGLWidget.GLenum internalformat, WGLWidget.GLenum format, WGLWidget.GLenum type, WImage image) -
texImage2D
public void texImage2D(WGLWidget.GLenum target, int level, WGLWidget.GLenum internalformat, WGLWidget.GLenum format, WGLWidget.GLenum type, WVideo video) -
texImage2D
public void texImage2D(WGLWidget.GLenum target, int level, WGLWidget.GLenum internalformat, WGLWidget.GLenum format, WGLWidget.GLenum type, WGLWidget.Texture texture) -
texParameteri
-
uniform1f
-
uniform1fv
-
uniform1fv
-
uniform1i
-
uniform1iv
-
uniform2f
-
uniform2fv
-
uniform2fv
-
uniform2i
-
uniform2iv
-
uniform3f
-
uniform3fv
-
uniform3fv
-
uniform3i
-
uniform3iv
-
uniform4f
-
uniform4fv
-
uniform4fv
-
uniform4i
-
uniform4iv
-
uniformMatrix2fv
public void uniformMatrix2fv(WGLWidget.UniformLocation location, boolean transpose, double[] value) -
uniformMatrix2
-
uniformMatrix3fv
public void uniformMatrix3fv(WGLWidget.UniformLocation location, boolean transpose, double[] value) -
uniformMatrix3
-
uniformMatrix4fv
public void uniformMatrix4fv(WGLWidget.UniformLocation location, boolean transpose, double[] value) -
uniformMatrix4
-
useProgram
-
validateProgram
-
vertexAttrib1f
-
vertexAttrib2f
-
vertexAttrib3f
-
vertexAttrib4f
public void vertexAttrib4f(WGLWidget.AttribLocation location, double x, double y, double z, double w) -
vertexAttribPointer
public void vertexAttribPointer(WGLWidget.AttribLocation location, int size, WGLWidget.GLenum type, boolean normalized, int stride, int offset) -
viewport
public void viewport(int x, int y, int width, int height) -
restoreContext
public void restoreContext(java.lang.String jsRef) -
render
-
init
public void init() -
update
public void update() -
display
public void display() -
reshape
public void reshape(int x, int y, int width, int height) -
uniformMatrix4
-
initJavaScriptMatrix4
-
setJavaScriptMatrix4
-
initJavaScriptVector
-
setJavaScriptVector
-
setClientSideMouseHandler
public void setClientSideMouseHandler(java.lang.String handlerCode) -
setClientSideLookAtHandler
public void setClientSideLookAtHandler(WGLWidget.JavaScriptMatrix4x4 m, double centerX, double centerY, double centerZ, double uX, double uY, double uZ, double pitchRate, double yawRate) -
setClientSideWalkHandler
public void setClientSideWalkHandler(WGLWidget.JavaScriptMatrix4x4 m, double frontStep, double rotStep) -
clearBinaryResources
public void clearBinaryResources() -
texImage2D
public void texImage2D(WGLWidget.GLenum target, int level, WGLWidget.GLenum internalformat, WGLWidget.GLenum format, WGLWidget.GLenum type, java.lang.String image) -
texImage2D
public void texImage2D(WGLWidget.GLenum target, int level, WGLWidget.GLenum internalformat, WGLWidget.GLenum format, WGLWidget.GLenum type, WPaintDevice paintdevice) -
getArrayType
public eu.webtoolkit.jwt.JsArrayType getArrayType() -
injectJS
public void injectJS(java.lang.String jsString) -
clear
-
layoutSizeChanged
public void layoutSizeChanged(int width, int height) -
repaintGL
-
repaintGL
public final void repaintGL(WGLWidget.ClientSideRenderer whic, WGLWidget.ClientSideRenderer... which) -
enableClientErrorChecks
public void enableClientErrorChecks(boolean enable) -
render
-
updateDom
-