Package arc.graphics
Class Gl
java.lang.Object
arc.graphics.Gl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
activeTexture
(int texture) static void
attachShader
(int program, int shader) static void
bindAttribLocation
(int program, int index, String name) static void
bindBuffer
(int target, int buffer) static void
bindFramebuffer
(int target, int framebuffer) static void
bindRenderbuffer
(int target, int renderbuffer) static void
bindTexture
(int target, int texture) static void
blendColor
(float red, float green, float blue, float alpha) static void
blendEquation
(int mode) static void
blendEquationSeparate
(int modeRGB, int modeAlpha) static void
blendFunc
(int sfactor, int dfactor) static void
blendFuncSeparate
(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) static void
bufferData
(int target, int size, Buffer data, int usage) static void
bufferSubData
(int target, int offset, int size, Buffer data) static int
checkFramebufferStatus
(int target) static void
clear
(int mask) static void
clearColor
(float red, float green, float blue, float alpha) static void
clearDepthf
(float depth) static void
clearStencil
(int s) static void
colorMask
(boolean red, boolean green, boolean blue, boolean alpha) static void
compileShader
(int shader) static void
compressedTexImage2D
(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data) static void
compressedTexSubImage2D
(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data) static void
copyTexImage2D
(int target, int level, int internalformat, int x, int y, int width, int height, int border) static void
copyTexSubImage2D
(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) static int
static int
createShader
(int type) static void
cullFace
(int mode) static void
deleteBuffer
(int buffer) static void
deleteFramebuffer
(int framebuffer) static void
deleteProgram
(int program) static void
deleteRenderbuffer
(int renderbuffer) static void
deleteShader
(int shader) static void
deleteTexture
(int texture) static void
depthFunc
(int func) static void
depthMask
(boolean flag) static void
depthRangef
(float zNear, float zFar) static void
detachShader
(int program, int shader) static void
disable
(int cap) static void
disableVertexAttribArray
(int index) static void
drawArrays
(int mode, int first, int count) static void
drawElements
(int mode, int count, int type, int indices) static void
drawElements
(int mode, int count, int type, Buffer indices) static void
enable
(int cap) static void
enableVertexAttribArray
(int index) static void
finish()
static void
flush()
static void
framebufferRenderbuffer
(int target, int attachment, int renderbuffertarget, int renderbuffer) static void
framebufferTexture2D
(int target, int attachment, int textarget, int texture, int level) static void
frontFace
(int mode) static int
static void
generateMipmap
(int target) static int
static int
static int
static String
getActiveAttrib
(int program, int index, IntBuffer size, IntBuffer type) static String
getActiveUniform
(int program, int index, IntBuffer size, IntBuffer type) static int
getAttribLocation
(int program, String name) static void
getBooleanv
(int pname, Buffer params) static void
getBufferParameteriv
(int target, int pname, IntBuffer params) static int
getError()
static void
getFloatv
(int pname, FloatBuffer params) static void
getFramebufferAttachmentParameteriv
(int target, int attachment, int pname, IntBuffer params) static int
getInt
(int name) static void
getIntegerv
(int pname, IntBuffer params) static String
getProgramInfoLog
(int program) static void
getProgramiv
(int program, int pname, IntBuffer params) static void
getRenderbufferParameteriv
(int target, int pname, IntBuffer params) static String
getShaderInfoLog
(int shader) static void
getShaderiv
(int shader, int pname, IntBuffer params) static void
getShaderPrecisionFormat
(int shadertype, int precisiontype, IntBuffer range, IntBuffer precision) static String
getString
(int name) static void
getTexParameterfv
(int target, int pname, FloatBuffer params) static void
getTexParameteriv
(int target, int pname, IntBuffer params) static void
getUniformfv
(int program, int location, FloatBuffer params) static void
getUniformiv
(int program, int location, IntBuffer params) static int
getUniformLocation
(int program, String name) static void
getVertexAttribfv
(int index, int pname, FloatBuffer params) static void
getVertexAttribiv
(int index, int pname, IntBuffer params) static void
hint
(int target, int mode) static boolean
isBuffer
(int buffer) static boolean
isEnabled
(int cap) static boolean
isFramebuffer
(int framebuffer) static boolean
isProgram
(int program) static boolean
isRenderbuffer
(int renderbuffer) static boolean
isShader
(int shader) static boolean
isTexture
(int texture) static void
linkProgram
(int program) static void
pixelStorei
(int pname, int param) static void
polygonOffset
(float factor, float units) static void
readPixels
(int x, int y, int width, int height, int format, int type, Buffer pixels) static void
static void
renderbufferStorage
(int target, int internalformat, int width, int height) static void
reset()
Reset optimization cache.static void
sampleCoverage
(float value, boolean invert) static void
scissor
(int x, int y, int width, int height) static void
shaderSource
(int shader, String string) static void
stencilFunc
(int func, int ref, int mask) static void
stencilFuncSeparate
(int face, int func, int ref, int mask) static void
stencilMask
(int mask) static void
stencilMaskSeparate
(int face, int mask) static void
stencilOp
(int fail, int zfail, int zpass) static void
stencilOpSeparate
(int face, int fail, int zfail, int zpass) static void
texImage2D
(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) static void
texParameterf
(int target, int pname, float param) static void
texParameterfv
(int target, int pname, FloatBuffer params) static void
texParameteri
(int target, int pname, int param) static void
texParameteriv
(int target, int pname, IntBuffer params) static void
texSubImage2D
(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) static void
uniform1f
(int location, float x) static void
uniform1fv
(int location, int count, float[] v, int offset) static void
uniform1fv
(int location, int count, FloatBuffer v) static void
uniform1i
(int location, int x) static void
uniform1iv
(int location, int count, int[] v, int offset) static void
uniform1iv
(int location, int count, IntBuffer v) static void
uniform2f
(int location, float x, float y) static void
uniform2fv
(int location, int count, float[] v, int offset) static void
uniform2fv
(int location, int count, FloatBuffer v) static void
uniform2i
(int location, int x, int y) static void
uniform2iv
(int location, int count, int[] v, int offset) static void
uniform2iv
(int location, int count, IntBuffer v) static void
uniform3f
(int location, float x, float y, float z) static void
uniform3fv
(int location, int count, float[] v, int offset) static void
uniform3fv
(int location, int count, FloatBuffer v) static void
uniform3i
(int location, int x, int y, int z) static void
uniform3iv
(int location, int count, int[] v, int offset) static void
uniform3iv
(int location, int count, IntBuffer v) static void
uniform4f
(int location, float x, float y, float z, float w) static void
uniform4fv
(int location, int count, float[] v, int offset) static void
uniform4fv
(int location, int count, FloatBuffer v) static void
uniform4i
(int location, int x, int y, int z, int w) static void
uniform4iv
(int location, int count, int[] v, int offset) static void
uniform4iv
(int location, int count, IntBuffer v) static void
uniformMatrix2fv
(int location, int count, boolean transpose, float[] value, int offset) static void
uniformMatrix2fv
(int location, int count, boolean transpose, FloatBuffer value) static void
uniformMatrix3fv
(int location, int count, boolean transpose, float[] value, int offset) static void
uniformMatrix3fv
(int location, int count, boolean transpose, FloatBuffer value) static void
uniformMatrix4fv
(int location, int count, boolean transpose, float[] value, int offset) static void
uniformMatrix4fv
(int location, int count, boolean transpose, FloatBuffer value) static void
useProgram
(int program) static void
validateProgram
(int program) static void
vertexAttrib1f
(int indx, float x) static void
vertexAttrib1fv
(int indx, FloatBuffer values) static void
vertexAttrib2f
(int indx, float x, float y) static void
vertexAttrib2fv
(int indx, FloatBuffer values) static void
vertexAttrib3f
(int indx, float x, float y, float z) static void
vertexAttrib3fv
(int indx, FloatBuffer values) static void
vertexAttrib4f
(int indx, float x, float y, float z, float w) static void
vertexAttrib4fv
(int indx, FloatBuffer values) static void
vertexAttribPointer
(int indx, int size, int type, boolean normalized, int stride, int ptr) static void
vertexAttribPointer
(int indx, int size, int type, boolean normalized, int stride, Buffer ptr) static void
viewport
(int x, int y, int width, int height)
-
Field Details
-
esVersion20
public static final int esVersion20- See Also:
-
depthBufferBit
public static final int depthBufferBit- See Also:
-
stencilBufferBit
public static final int stencilBufferBit- See Also:
-
colorBufferBit
public static final int colorBufferBit- See Also:
-
falseV
public static final int falseV- See Also:
-
trueV
public static final int trueV- See Also:
-
points
public static final int points- See Also:
-
lines
public static final int lines- See Also:
-
lineLoop
public static final int lineLoop- See Also:
-
lineStrip
public static final int lineStrip- See Also:
-
triangles
public static final int triangles- See Also:
-
triangleStrip
public static final int triangleStrip- See Also:
-
triangleFan
public static final int triangleFan- See Also:
-
zero
public static final int zero- See Also:
-
one
public static final int one- See Also:
-
srcColor
public static final int srcColor- See Also:
-
oneMinusSrcColor
public static final int oneMinusSrcColor- See Also:
-
srcAlpha
public static final int srcAlpha- See Also:
-
oneMinusSrcAlpha
public static final int oneMinusSrcAlpha- See Also:
-
dstAlpha
public static final int dstAlpha- See Also:
-
oneMinusDstAlpha
public static final int oneMinusDstAlpha- See Also:
-
dstColor
public static final int dstColor- See Also:
-
oneMinusDstColor
public static final int oneMinusDstColor- See Also:
-
srcAlphaSaturate
public static final int srcAlphaSaturate- See Also:
-
funcAdd
public static final int funcAdd- See Also:
-
blendEquation
public static final int blendEquation- See Also:
-
blendEquationRgb
public static final int blendEquationRgb- See Also:
-
blendEquationAlpha
public static final int blendEquationAlpha- See Also:
-
funcSubtract
public static final int funcSubtract- See Also:
-
funcReverseSubtract
public static final int funcReverseSubtract- See Also:
-
min
public static final int min- See Also:
-
max
public static final int max- See Also:
-
blendDstRgb
public static final int blendDstRgb- See Also:
-
blendSrcRgb
public static final int blendSrcRgb- See Also:
-
blendDstAlpha
public static final int blendDstAlpha- See Also:
-
blendSrcAlpha
public static final int blendSrcAlpha- See Also:
-
constantColor
public static final int constantColor- See Also:
-
oneMinusConstantColor
public static final int oneMinusConstantColor- See Also:
-
constantAlpha
public static final int constantAlpha- See Also:
-
oneMinusConstantAlpha
public static final int oneMinusConstantAlpha- See Also:
-
blendColor
public static final int blendColor- See Also:
-
arrayBuffer
public static final int arrayBuffer- See Also:
-
elementArrayBuffer
public static final int elementArrayBuffer- See Also:
-
arrayBufferBinding
public static final int arrayBufferBinding- See Also:
-
elementArrayBufferBinding
public static final int elementArrayBufferBinding- See Also:
-
streamDraw
public static final int streamDraw- See Also:
-
staticDraw
public static final int staticDraw- See Also:
-
dynamicDraw
public static final int dynamicDraw- See Also:
-
bufferSize
public static final int bufferSize- See Also:
-
bufferUsage
public static final int bufferUsage- See Also:
-
currentVertexAttrib
public static final int currentVertexAttrib- See Also:
-
front
public static final int front- See Also:
-
back
public static final int back- See Also:
-
frontAndBack
public static final int frontAndBack- See Also:
-
texture2d
public static final int texture2d- See Also:
-
cullFace
public static final int cullFace- See Also:
-
blend
public static final int blend- See Also:
-
dither
public static final int dither- See Also:
-
stencilTest
public static final int stencilTest- See Also:
-
depthTest
public static final int depthTest- See Also:
-
scissorTest
public static final int scissorTest- See Also:
-
polygonOffsetFill
public static final int polygonOffsetFill- See Also:
-
sampleAlphaToCoverage
public static final int sampleAlphaToCoverage- See Also:
-
sampleCoverage
public static final int sampleCoverage- See Also:
-
noError
public static final int noError- See Also:
-
invalidEnum
public static final int invalidEnum- See Also:
-
invalidValue
public static final int invalidValue- See Also:
-
invalidOperation
public static final int invalidOperation- See Also:
-
outOfMemory
public static final int outOfMemory- See Also:
-
cw
public static final int cw- See Also:
-
ccw
public static final int ccw- See Also:
-
lineWidth
public static final int lineWidth- See Also:
-
aliasedPointSizeRange
public static final int aliasedPointSizeRange- See Also:
-
aliasedLineWidthRange
public static final int aliasedLineWidthRange- See Also:
-
cullFaceMode
public static final int cullFaceMode- See Also:
-
frontFace
public static final int frontFace- See Also:
-
depthRange
public static final int depthRange- See Also:
-
depthWritemask
public static final int depthWritemask- See Also:
-
depthClearValue
public static final int depthClearValue- See Also:
-
depthFunc
public static final int depthFunc- See Also:
-
stencilClearValue
public static final int stencilClearValue- See Also:
-
stencilFunc
public static final int stencilFunc- See Also:
-
stencilFail
public static final int stencilFail- See Also:
-
stencilPassDepthFail
public static final int stencilPassDepthFail- See Also:
-
stencilPassDepthPass
public static final int stencilPassDepthPass- See Also:
-
stencilRef
public static final int stencilRef- See Also:
-
stencilValueMask
public static final int stencilValueMask- See Also:
-
stencilWritemask
public static final int stencilWritemask- See Also:
-
stencilBackFunc
public static final int stencilBackFunc- See Also:
-
stencilBackFail
public static final int stencilBackFail- See Also:
-
stencilBackPassDepthFail
public static final int stencilBackPassDepthFail- See Also:
-
stencilBackPassDepthPass
public static final int stencilBackPassDepthPass- See Also:
-
stencilBackRef
public static final int stencilBackRef- See Also:
-
stencilBackValueMask
public static final int stencilBackValueMask- See Also:
-
stencilBackWritemask
public static final int stencilBackWritemask- See Also:
-
viewport
public static final int viewport- See Also:
-
scissorBox
public static final int scissorBox- See Also:
-
colorClearValue
public static final int colorClearValue- See Also:
-
colorWritemask
public static final int colorWritemask- See Also:
-
unpackAlignment
public static final int unpackAlignment- See Also:
-
packAlignment
public static final int packAlignment- See Also:
-
maxTextureSize
public static final int maxTextureSize- See Also:
-
maxTextureUnits
public static final int maxTextureUnits- See Also:
-
maxViewportDims
public static final int maxViewportDims- See Also:
-
subpixelBits
public static final int subpixelBits- See Also:
-
redBits
public static final int redBits- See Also:
-
greenBits
public static final int greenBits- See Also:
-
blueBits
public static final int blueBits- See Also:
-
alphaBits
public static final int alphaBits- See Also:
-
depthBits
public static final int depthBits- See Also:
-
stencilBits
public static final int stencilBits- See Also:
-
polygonOffsetUnits
public static final int polygonOffsetUnits- See Also:
-
polygonOffsetFactor
public static final int polygonOffsetFactor- See Also:
-
textureBinding2d
public static final int textureBinding2d- See Also:
-
sampleBuffers
public static final int sampleBuffers- See Also:
-
samples
public static final int samples- See Also:
-
sampleCoverageValue
public static final int sampleCoverageValue- See Also:
-
sampleCoverageInvert
public static final int sampleCoverageInvert- See Also:
-
numCompressedTextureFormats
public static final int numCompressedTextureFormats- See Also:
-
compressedTextureFormats
public static final int compressedTextureFormats- See Also:
-
dontCare
public static final int dontCare- See Also:
-
fastest
public static final int fastest- See Also:
-
nicest
public static final int nicest- See Also:
-
generateMipmap
public static final int generateMipmap- See Also:
-
generateMipmapHint
public static final int generateMipmapHint- See Also:
-
byteV
public static final int byteV- See Also:
-
unsignedByte
public static final int unsignedByte- See Also:
-
shortV
public static final int shortV- See Also:
-
unsignedShort
public static final int unsignedShort- See Also:
-
intV
public static final int intV- See Also:
-
unsignedInt
public static final int unsignedInt- See Also:
-
floatV
public static final int floatV- See Also:
-
fixed
public static final int fixed- See Also:
-
depthComponent
public static final int depthComponent- See Also:
-
alpha
public static final int alpha- See Also:
-
rgb
public static final int rgb- See Also:
-
rgba
public static final int rgba- See Also:
-
luminance
public static final int luminance- See Also:
-
luminanceAlpha
public static final int luminanceAlpha- See Also:
-
unsignedShort4444
public static final int unsignedShort4444- See Also:
-
unsignedShort5551
public static final int unsignedShort5551- See Also:
-
unsignedShort565
public static final int unsignedShort565- See Also:
-
fragmentShader
public static final int fragmentShader- See Also:
-
vertexShader
public static final int vertexShader- See Also:
-
maxVertexAttribs
public static final int maxVertexAttribs- See Also:
-
maxVertexUniformVectors
public static final int maxVertexUniformVectors- See Also:
-
maxVaryingVectors
public static final int maxVaryingVectors- See Also:
-
maxCombinedTextureImageUnits
public static final int maxCombinedTextureImageUnits- See Also:
-
maxVertexTextureImageUnits
public static final int maxVertexTextureImageUnits- See Also:
-
maxTextureImageUnits
public static final int maxTextureImageUnits- See Also:
-
maxFragmentUniformVectors
public static final int maxFragmentUniformVectors- See Also:
-
shaderType
public static final int shaderType- See Also:
-
deleteStatus
public static final int deleteStatus- See Also:
-
linkStatus
public static final int linkStatus- See Also:
-
validateStatus
public static final int validateStatus- See Also:
-
attachedShaders
public static final int attachedShaders- See Also:
-
activeUniforms
public static final int activeUniforms- See Also:
-
activeUniformMaxLength
public static final int activeUniformMaxLength- See Also:
-
activeAttributes
public static final int activeAttributes- See Also:
-
activeAttributeMaxLength
public static final int activeAttributeMaxLength- See Also:
-
shadingLanguageVersion
public static final int shadingLanguageVersion- See Also:
-
currentProgram
public static final int currentProgram- See Also:
-
never
public static final int never- See Also:
-
less
public static final int less- See Also:
-
equal
public static final int equal- See Also:
-
lequal
public static final int lequal- See Also:
-
greater
public static final int greater- See Also:
-
notequal
public static final int notequal- See Also:
-
gequal
public static final int gequal- See Also:
-
always
public static final int always- See Also:
-
keep
public static final int keep- See Also:
-
replace
public static final int replace- See Also:
-
incr
public static final int incr- See Also:
-
decr
public static final int decr- See Also:
-
invert
public static final int invert- See Also:
-
incrWrap
public static final int incrWrap- See Also:
-
decrWrap
public static final int decrWrap- See Also:
-
vendor
public static final int vendor- See Also:
-
renderer
public static final int renderer- See Also:
-
version
public static final int version- See Also:
-
extensions
public static final int extensions- See Also:
-
nearest
public static final int nearest- See Also:
-
linear
public static final int linear- See Also:
-
nearestMipmapNearest
public static final int nearestMipmapNearest- See Also:
-
linearMipmapNearest
public static final int linearMipmapNearest- See Also:
-
nearestMipmapLinear
public static final int nearestMipmapLinear- See Also:
-
linearMipmapLinear
public static final int linearMipmapLinear- See Also:
-
textureMagFilter
public static final int textureMagFilter- See Also:
-
textureMinFilter
public static final int textureMinFilter- See Also:
-
textureWrapS
public static final int textureWrapS- See Also:
-
textureWrapT
public static final int textureWrapT- See Also:
-
texture
public static final int texture- See Also:
-
textureCubeMap
public static final int textureCubeMap- See Also:
-
textureBindingCubeMap
public static final int textureBindingCubeMap- See Also:
-
textureCubeMapPositiveX
public static final int textureCubeMapPositiveX- See Also:
-
textureCubeMapNegativeX
public static final int textureCubeMapNegativeX- See Also:
-
textureCubeMapPositiveY
public static final int textureCubeMapPositiveY- See Also:
-
textureCubeMapNegativeY
public static final int textureCubeMapNegativeY- See Also:
-
textureCubeMapPositiveZ
public static final int textureCubeMapPositiveZ- See Also:
-
textureCubeMapNegativeZ
public static final int textureCubeMapNegativeZ- See Also:
-
maxCubeMapTextureSize
public static final int maxCubeMapTextureSize- See Also:
-
texture0
public static final int texture0- See Also:
-
texture1
public static final int texture1- See Also:
-
texture2
public static final int texture2- See Also:
-
texture3
public static final int texture3- See Also:
-
texture4
public static final int texture4- See Also:
-
texture5
public static final int texture5- See Also:
-
texture6
public static final int texture6- See Also:
-
texture7
public static final int texture7- See Also:
-
texture8
public static final int texture8- See Also:
-
texture9
public static final int texture9- See Also:
-
texture10
public static final int texture10- See Also:
-
texture11
public static final int texture11- See Also:
-
texture12
public static final int texture12- See Also:
-
texture13
public static final int texture13- See Also:
-
texture14
public static final int texture14- See Also:
-
texture15
public static final int texture15- See Also:
-
texture16
public static final int texture16- See Also:
-
texture17
public static final int texture17- See Also:
-
texture18
public static final int texture18- See Also:
-
texture19
public static final int texture19- See Also:
-
texture20
public static final int texture20- See Also:
-
texture21
public static final int texture21- See Also:
-
texture22
public static final int texture22- See Also:
-
texture23
public static final int texture23- See Also:
-
texture24
public static final int texture24- See Also:
-
texture25
public static final int texture25- See Also:
-
texture26
public static final int texture26- See Also:
-
texture27
public static final int texture27- See Also:
-
texture28
public static final int texture28- See Also:
-
texture29
public static final int texture29- See Also:
-
texture30
public static final int texture30- See Also:
-
texture31
public static final int texture31- See Also:
-
activeTexture
public static final int activeTexture- See Also:
-
repeat
public static final int repeat- See Also:
-
clampToEdge
public static final int clampToEdge- See Also:
-
mirroredRepeat
public static final int mirroredRepeat- See Also:
-
floatVec2
public static final int floatVec2- See Also:
-
floatVec3
public static final int floatVec3- See Also:
-
floatVec4
public static final int floatVec4- See Also:
-
intVec2
public static final int intVec2- See Also:
-
intVec3
public static final int intVec3- See Also:
-
intVec4
public static final int intVec4- See Also:
-
bool
public static final int bool- See Also:
-
boolVec2
public static final int boolVec2- See Also:
-
boolVec3
public static final int boolVec3- See Also:
-
boolVec4
public static final int boolVec4- See Also:
-
floatMat2
public static final int floatMat2- See Also:
-
floatMat3
public static final int floatMat3- See Also:
-
floatMat4
public static final int floatMat4- See Also:
-
sampler2d
public static final int sampler2d- See Also:
-
samplerCube
public static final int samplerCube- See Also:
-
vertexAttribArrayEnabled
public static final int vertexAttribArrayEnabled- See Also:
-
vertexAttribArraySize
public static final int vertexAttribArraySize- See Also:
-
vertexAttribArrayStride
public static final int vertexAttribArrayStride- See Also:
-
vertexAttribArrayType
public static final int vertexAttribArrayType- See Also:
-
vertexAttribArrayNormalized
public static final int vertexAttribArrayNormalized- See Also:
-
vertexAttribArrayPointer
public static final int vertexAttribArrayPointer- See Also:
-
vertexAttribArrayBufferBinding
public static final int vertexAttribArrayBufferBinding- See Also:
-
implementationColorReadType
public static final int implementationColorReadType- See Also:
-
implementationColorReadFormat
public static final int implementationColorReadFormat- See Also:
-
compileStatus
public static final int compileStatus- See Also:
-
infoLogLength
public static final int infoLogLength- See Also:
-
shaderSourceLength
public static final int shaderSourceLength- See Also:
-
shaderCompiler
public static final int shaderCompiler- See Also:
-
shaderBinaryFormats
public static final int shaderBinaryFormats- See Also:
-
numShaderBinaryFormats
public static final int numShaderBinaryFormats- See Also:
-
lowFloat
public static final int lowFloat- See Also:
-
mediumFloat
public static final int mediumFloat- See Also:
-
highFloat
public static final int highFloat- See Also:
-
lowInt
public static final int lowInt- See Also:
-
mediumInt
public static final int mediumInt- See Also:
-
highInt
public static final int highInt- See Also:
-
framebuffer
public static final int framebuffer- See Also:
-
renderbuffer
public static final int renderbuffer- See Also:
-
rgba4
public static final int rgba4- See Also:
-
rgb5A1
public static final int rgb5A1- See Also:
-
rgb565
public static final int rgb565- See Also:
-
depthComponent16
public static final int depthComponent16- See Also:
-
stencilIndex
public static final int stencilIndex- See Also:
-
stencilIndex8
public static final int stencilIndex8- See Also:
-
renderbufferWidth
public static final int renderbufferWidth- See Also:
-
renderbufferHeight
public static final int renderbufferHeight- See Also:
-
renderbufferInternalFormat
public static final int renderbufferInternalFormat- See Also:
-
renderbufferRedSize
public static final int renderbufferRedSize- See Also:
-
renderbufferGreenSize
public static final int renderbufferGreenSize- See Also:
-
renderbufferBlueSize
public static final int renderbufferBlueSize- See Also:
-
renderbufferAlphaSize
public static final int renderbufferAlphaSize- See Also:
-
renderbufferDepthSize
public static final int renderbufferDepthSize- See Also:
-
renderbufferStencilSize
public static final int renderbufferStencilSize- See Also:
-
framebufferAttachmentObjectType
public static final int framebufferAttachmentObjectType- See Also:
-
framebufferAttachmentObjectName
public static final int framebufferAttachmentObjectName- See Also:
-
framebufferAttachmentTextureLevel
public static final int framebufferAttachmentTextureLevel- See Also:
-
framebufferAttachmentTextureCubeMapFace
public static final int framebufferAttachmentTextureCubeMapFace- See Also:
-
colorAttachment0
public static final int colorAttachment0- See Also:
-
depthAttachment
public static final int depthAttachment- See Also:
-
stencilAttachment
public static final int stencilAttachment- See Also:
-
none
public static final int none- See Also:
-
framebufferComplete
public static final int framebufferComplete- See Also:
-
framebufferIncompleteAttachment
public static final int framebufferIncompleteAttachment- See Also:
-
framebufferIncompleteMissingAttachment
public static final int framebufferIncompleteMissingAttachment- See Also:
-
framebufferIncompleteDimensions
public static final int framebufferIncompleteDimensions- See Also:
-
framebufferUnsupported
public static final int framebufferUnsupported- See Also:
-
framebufferBinding
public static final int framebufferBinding- See Also:
-
renderbufferBinding
public static final int renderbufferBinding- See Also:
-
maxRenderbufferSize
public static final int maxRenderbufferSize- See Also:
-
invalidFramebufferOperation
public static final int invalidFramebufferOperation- See Also:
-
vertexProgramPointSize
public static final int vertexProgramPointSize- See Also:
-
-
Constructor Details
-
Gl
public Gl()
-
-
Method Details
-
reset
public static void reset()Reset optimization cache. -
activeTexture
public static void activeTexture(int texture) -
bindTexture
public static void bindTexture(int target, int texture) -
blendFunc
public static void blendFunc(int sfactor, int dfactor) -
clear
public static void clear(int mask) -
clearColor
public static void clearColor(float red, float green, float blue, float alpha) -
clearDepthf
public static void clearDepthf(float depth) -
clearStencil
public static void clearStencil(int s) -
colorMask
public static void colorMask(boolean red, boolean green, boolean blue, boolean alpha) -
compressedTexImage2D
public static void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data) -
compressedTexSubImage2D
public static void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data) -
copyTexImage2D
public static void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) -
copyTexSubImage2D
public static void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) -
cullFace
public static void cullFace(int mode) -
deleteTexture
public static void deleteTexture(int texture) -
depthFunc
public static void depthFunc(int func) -
depthMask
public static void depthMask(boolean flag) -
depthRangef
public static void depthRangef(float zNear, float zFar) -
disable
public static void disable(int cap) -
drawArrays
public static void drawArrays(int mode, int first, int count) -
drawElements
-
enable
public static void enable(int cap) -
finish
public static void finish() -
flush
public static void flush() -
frontFace
public static void frontFace(int mode) -
genTexture
public static int genTexture() -
getError
public static int getError() -
getIntegerv
-
getInt
public static int getInt(int name) -
getString
-
hint
public static void hint(int target, int mode) -
pixelStorei
public static void pixelStorei(int pname, int param) -
polygonOffset
public static void polygonOffset(float factor, float units) -
readPixels
public static void readPixels(int x, int y, int width, int height, int format, int type, Buffer pixels) -
scissor
public static void scissor(int x, int y, int width, int height) -
stencilFunc
public static void stencilFunc(int func, int ref, int mask) -
stencilMask
public static void stencilMask(int mask) -
stencilOp
public static void stencilOp(int fail, int zfail, int zpass) -
texImage2D
public static void texImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) -
texParameterf
public static void texParameterf(int target, int pname, float param) -
texSubImage2D
public static void texSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) -
viewport
public static void viewport(int x, int y, int width, int height) -
attachShader
public static void attachShader(int program, int shader) -
bindAttribLocation
-
bindBuffer
public static void bindBuffer(int target, int buffer) -
bindFramebuffer
public static void bindFramebuffer(int target, int framebuffer) -
bindRenderbuffer
public static void bindRenderbuffer(int target, int renderbuffer) -
blendColor
public static void blendColor(float red, float green, float blue, float alpha) -
blendEquation
public static void blendEquation(int mode) -
blendEquationSeparate
public static void blendEquationSeparate(int modeRGB, int modeAlpha) -
blendFuncSeparate
public static void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) -
bufferData
-
bufferSubData
-
checkFramebufferStatus
public static int checkFramebufferStatus(int target) -
compileShader
public static void compileShader(int shader) -
createProgram
public static int createProgram() -
createShader
public static int createShader(int type) -
deleteBuffer
public static void deleteBuffer(int buffer) -
deleteFramebuffer
public static void deleteFramebuffer(int framebuffer) -
deleteProgram
public static void deleteProgram(int program) -
deleteRenderbuffer
public static void deleteRenderbuffer(int renderbuffer) -
deleteShader
public static void deleteShader(int shader) -
detachShader
public static void detachShader(int program, int shader) -
disableVertexAttribArray
public static void disableVertexAttribArray(int index) -
drawElements
public static void drawElements(int mode, int count, int type, int indices) -
enableVertexAttribArray
public static void enableVertexAttribArray(int index) -
framebufferRenderbuffer
public static void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer) -
framebufferTexture2D
public static void framebufferTexture2D(int target, int attachment, int textarget, int texture, int level) -
genBuffer
public static int genBuffer() -
generateMipmap
public static void generateMipmap(int target) -
genFramebuffer
public static int genFramebuffer() -
genRenderbuffer
public static int genRenderbuffer() -
getActiveAttrib
-
getActiveUniform
-
getAttribLocation
-
getBooleanv
-
getBufferParameteriv
-
getFloatv
-
getFramebufferAttachmentParameteriv
public static void getFramebufferAttachmentParameteriv(int target, int attachment, int pname, IntBuffer params) -
getProgramiv
-
getProgramInfoLog
-
getRenderbufferParameteriv
-
getShaderiv
-
getShaderInfoLog
-
getShaderPrecisionFormat
-
getTexParameterfv
-
getTexParameteriv
-
getUniformfv
-
getUniformiv
-
getUniformLocation
-
getVertexAttribfv
-
getVertexAttribiv
-
isBuffer
public static boolean isBuffer(int buffer) -
isEnabled
public static boolean isEnabled(int cap) -
isFramebuffer
public static boolean isFramebuffer(int framebuffer) -
isProgram
public static boolean isProgram(int program) -
isRenderbuffer
public static boolean isRenderbuffer(int renderbuffer) -
isShader
public static boolean isShader(int shader) -
isTexture
public static boolean isTexture(int texture) -
linkProgram
public static void linkProgram(int program) -
releaseShaderCompiler
public static void releaseShaderCompiler() -
renderbufferStorage
public static void renderbufferStorage(int target, int internalformat, int width, int height) -
sampleCoverage
public static void sampleCoverage(float value, boolean invert) -
shaderSource
-
stencilFuncSeparate
public static void stencilFuncSeparate(int face, int func, int ref, int mask) -
stencilMaskSeparate
public static void stencilMaskSeparate(int face, int mask) -
stencilOpSeparate
public static void stencilOpSeparate(int face, int fail, int zfail, int zpass) -
texParameterfv
-
texParameteri
public static void texParameteri(int target, int pname, int param) -
texParameteriv
-
uniform1f
public static void uniform1f(int location, float x) -
uniform1fv
-
uniform1fv
public static void uniform1fv(int location, int count, float[] v, int offset) -
uniform1i
public static void uniform1i(int location, int x) -
uniform1iv
-
uniform1iv
public static void uniform1iv(int location, int count, int[] v, int offset) -
uniform2f
public static void uniform2f(int location, float x, float y) -
uniform2fv
-
uniform2fv
public static void uniform2fv(int location, int count, float[] v, int offset) -
uniform2i
public static void uniform2i(int location, int x, int y) -
uniform2iv
-
uniform2iv
public static void uniform2iv(int location, int count, int[] v, int offset) -
uniform3f
public static void uniform3f(int location, float x, float y, float z) -
uniform3fv
-
uniform3fv
public static void uniform3fv(int location, int count, float[] v, int offset) -
uniform3i
public static void uniform3i(int location, int x, int y, int z) -
uniform3iv
-
uniform3iv
public static void uniform3iv(int location, int count, int[] v, int offset) -
uniform4f
public static void uniform4f(int location, float x, float y, float z, float w) -
uniform4fv
-
uniform4fv
public static void uniform4fv(int location, int count, float[] v, int offset) -
uniform4i
public static void uniform4i(int location, int x, int y, int z, int w) -
uniform4iv
-
uniform4iv
public static void uniform4iv(int location, int count, int[] v, int offset) -
uniformMatrix2fv
-
uniformMatrix2fv
public static void uniformMatrix2fv(int location, int count, boolean transpose, float[] value, int offset) -
uniformMatrix3fv
-
uniformMatrix3fv
public static void uniformMatrix3fv(int location, int count, boolean transpose, float[] value, int offset) -
uniformMatrix4fv
-
uniformMatrix4fv
public static void uniformMatrix4fv(int location, int count, boolean transpose, float[] value, int offset) -
useProgram
public static void useProgram(int program) -
validateProgram
public static void validateProgram(int program) -
vertexAttrib1f
public static void vertexAttrib1f(int indx, float x) -
vertexAttrib1fv
-
vertexAttrib2f
public static void vertexAttrib2f(int indx, float x, float y) -
vertexAttrib2fv
-
vertexAttrib3f
public static void vertexAttrib3f(int indx, float x, float y, float z) -
vertexAttrib3fv
-
vertexAttrib4f
public static void vertexAttrib4f(int indx, float x, float y, float z, float w) -
vertexAttrib4fv
-
vertexAttribPointer
public static void vertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, Buffer ptr) -
vertexAttribPointer
public static void vertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, int ptr)
-