public class JmeIosGLES
extends java.lang.Object
iOS GLES interface
iOS alternative to Android's GLES20 classConstructor and Description |
---|
JmeIosGLES() |
Modifier and Type | Method and Description |
---|---|
static void |
checkGLError() |
static void |
glActiveTexture(int texture) |
static void |
glAttachShader(int program,
int shader) |
static void |
glBindBuffer(int target,
int buffer) |
static void |
glBindFramebuffer(int target,
int framebuffer) |
static void |
glBindRenderbuffer(int target,
int renderbuffer) |
static void |
glBindTexture(int target,
int texture) |
static void |
glBlendEquationSeparate(int colorMode,
int alphaMode) |
static void |
glBlendFunc(int sfactor,
int dfactor) |
static void |
glBlendFuncSeparate(int sfactorRGB,
int dfactorRGB,
int sfactorAlpha,
int dfactorAlpha) |
static void |
glBufferData(int target,
int size,
java.nio.Buffer data,
int usage) |
static void |
glBufferData2(int target,
int size,
byte[] data,
int offset,
int usage) |
static void |
glBufferSubData(int target,
int offset,
int size,
java.nio.Buffer data) |
static void |
glBufferSubData2(int target,
int offset,
int size,
byte[] data,
int dataoffset) |
static int |
glCheckFramebufferStatus(int target) |
static void |
glClear(int mask) |
static void |
glClearColor(float red,
float green,
float blue,
float alpha) |
static void |
glColorMask(boolean red,
boolean green,
boolean blue,
boolean alpha) |
static void |
glCompileShader(int shader) |
static void |
glCompressedTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int imageSize,
java.nio.Buffer pixels) |
static void |
glCompressedTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int imageSize,
java.nio.Buffer pixels) |
static int |
glCreateProgram() |
static int |
glCreateShader(int type) |
static void |
glCullFace(int mode) |
static void |
glDeleteBuffers(int n,
int[] buffers,
int offset) |
static void |
glDeleteFramebuffers(int n,
int[] framebuffers,
int offset) |
static void |
glDeleteProgram(int program) |
static void |
glDeleteRenderbuffers(int n,
int[] renderbuffers,
int offset) |
static void |
glDeleteShader(int shader) |
static void |
glDeleteTextures(int n,
int[] textures,
int offset) |
static void |
glDepthFunc(int func) |
static void |
glDepthMask(boolean flag) |
static void |
glDepthRangef(float zNear,
float zFar) |
static void |
glDetachShader(int program,
int shader) |
static void |
glDisable(int cap) |
static void |
glDisableVertexAttribArray(int index) |
static void |
glDrawArrays(int mode,
int first,
int count) |
static void |
glDrawElements(int mode,
int count,
int type,
java.nio.Buffer indices) |
static void |
glDrawElements2(int mode,
int count,
int type,
byte[] indices,
int offset) |
static void |
glDrawElementsIndex(int mode,
int count,
int type,
int offset) |
static void |
glEnable(int cap) |
static void |
glEnableVertexAttribArray(int index) |
static void |
glFramebufferRenderbuffer(int target,
int attachment,
int renderbuffertarget,
int renderbuffer) |
static void |
glFramebufferTexture2D(int target,
int attachment,
int textarget,
int texture,
int level) |
static void |
glGenBuffers(int n,
int[] buffers,
int offset) |
static void |
glGenerateMipmap(int target) |
static void |
glGenFramebuffers(int n,
int[] framebuffers,
int offset) |
static void |
glGenRenderbuffers(int n,
int[] renderbuffers,
int offset) |
static void |
glGenTextures(int n,
int[] textures,
int offset) |
static int |
glGetAttribLocation(int program,
java.lang.String name) |
static int |
glGetError() |
static void |
glGetFramebufferAttachmentParameteriv(int target,
int attachment,
int pname,
int[] params,
int offset) |
static void |
glGetIntegerv(int pname,
int[] params,
int offset) |
static java.lang.String |
glGetProgramInfoLog(int program) |
static void |
glGetProgramiv(int program,
int pname,
int[] params,
int offset) |
static java.lang.String |
glGetShaderInfoLog(int shader) |
static void |
glGetShaderiv(int shader,
int pname,
int[] params,
int offset) |
static java.lang.String |
glGetString(int name) |
static int |
glGetUniformLocation(int program,
java.lang.String name) |
static boolean |
glIsFramebuffer(int framebuffer) |
static boolean |
glIsRenderbuffer(int renderbuffer) |
static void |
glLineWidth(float width) |
static void |
glLinkProgram(int program) |
static void |
glPixelStorei(int pname,
int param) |
static void |
glPolygonOffset(float factor,
float units) |
static void |
glReadPixels(int vpX,
int vpY,
int vpW,
int vpH,
int format,
int type,
java.nio.Buffer pixels) |
static void |
glReadPixels2(int vpX,
int vpY,
int vpW,
int vpH,
int format,
int type,
byte[] pixels,
int offset,
int size) |
static void |
glRenderbufferStorage(int target,
int internalformat,
int width,
int height) |
static void |
glScissor(int x,
int y,
int width,
int height) |
static void |
glShaderSource(int shader,
java.lang.String string) |
static void |
glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
java.nio.Buffer pixels) |
static void |
glTexParameteri(int target,
int pname,
int param) |
static void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
java.nio.Buffer pixels) |
static void |
glUniform1f(int location,
float x) |
static void |
glUniform1fv(int location,
int count,
java.nio.FloatBuffer v) |
static void |
glUniform1fv2(int location,
int count,
float[] v,
int offset) |
static void |
glUniform1i(int location,
int x) |
static void |
glUniform1iv(int location,
int count,
java.nio.IntBuffer v) |
static void |
glUniform1iv2(int location,
int count,
int[] v,
int offset) |
static void |
glUniform2f(int location,
float x,
float y) |
static void |
glUniform2fv(int location,
int count,
java.nio.FloatBuffer v) |
static void |
glUniform2fv2(int location,
int count,
float[] v,
int offset) |
static void |
glUniform3f(int location,
float x,
float y,
float z) |
static void |
glUniform3fv(int location,
int count,
java.nio.FloatBuffer v) |
static void |
glUniform3fv2(int location,
int count,
float[] v,
int offset) |
static void |
glUniform4f(int location,
float x,
float y,
float z,
float w) |
static void |
glUniform4fv(int location,
int count,
java.nio.FloatBuffer v) |
static void |
glUniform4fv2(int location,
int count,
float[] v,
int offset) |
static void |
glUniformMatrix3fv(int location,
int count,
boolean transpose,
java.nio.FloatBuffer value) |
static void |
glUniformMatrix3fv2(int location,
int count,
boolean transpose,
float[] value,
int offset) |
static void |
glUniformMatrix4fv(int location,
int count,
boolean transpose,
java.nio.FloatBuffer value) |
static void |
glUniformMatrix4fv2(int location,
int count,
boolean transpose,
float[] value,
int offset) |
static void |
glUseProgram(int program) |
static void |
glVertexAttribPointer(int indx,
int size,
int type,
boolean normalized,
int stride,
java.nio.Buffer ptr) |
static void |
glVertexAttribPointer2(int indx,
int size,
int type,
boolean normalized,
int stride,
int offset) |
static void |
glViewport(int x,
int y,
int width,
int height) |
public static final int GL_ALPHA
public static final int GL_ALWAYS
public static final int GL_ARRAY_BUFFER
public static final int GL_BACK
public static final int GL_BLEND
public static final int GL_BYTE
public static final int GL_CLAMP_TO_EDGE
public static final int GL_COLOR_ATTACHMENT0
public static final int GL_COLOR_BUFFER_BIT
public static final int GL_COMPILE_STATUS
public static final int GL_COMPRESSED_TEXTURE_FORMATS
public static final int GL_CULL_FACE
public static final int GL_DEPTH_ATTACHMENT
public static final int GL_DEPTH_BUFFER_BIT
public static final int GL_DEPTH_COMPONENT
public static final int GL_DEPTH_COMPONENT16
public static final int GL_DEPTH_TEST
public static final int GL_DITHER
public static final int GL_DST_COLOR
public static final int GL_DYNAMIC_DRAW
public static final int GL_EQUAL
public static final int GL_ELEMENT_ARRAY_BUFFER
public static final int GL_EXTENSIONS
public static final int GL_FALSE
public static final int GL_FLOAT
public static final int GL_FRAGMENT_SHADER
public static final int GL_FRAMEBUFFER
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
public static final int GL_FRAMEBUFFER_COMPLETE
public static final int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
public static final int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS
public static final int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
public static final int GL_FRAMEBUFFER_UNSUPPORTED
public static final int GL_FRONT
public static final int GL_FRONT_AND_BACK
public static final int GL_GEQUAL
public static final int GL_GREATER
public static final int GL_HIGH_FLOAT
public static final int GL_INFO_LOG_LENGTH
public static final int GL_INT
public static final int GL_LEQUAL
public static final int GL_LESS
public static final int GL_LINEAR
public static final int GL_LINEAR_MIPMAP_LINEAR
public static final int GL_LINEAR_MIPMAP_NEAREST
public static final int GL_LINES
public static final int GL_LINE_LOOP
public static final int GL_LINE_STRIP
public static final int GL_LINK_STATUS
public static final int GL_LUMINANCE
public static final int GL_LUMINANCE_ALPHA
public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE
public static final int GL_MAX_FRAGMENT_UNIFORM_VECTORS
public static final int GL_MAX_RENDERBUFFER_SIZE
public static final int GL_MAX_TEXTURE_IMAGE_UNITS
public static final int GL_MAX_TEXTURE_SIZE
public static final int GL_MAX_VARYING_VECTORS
public static final int GL_MAX_VERTEX_ATTRIBS
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
public static final int GL_MAX_VERTEX_UNIFORM_VECTORS
public static final int GL_MIRRORED_REPEAT
public static final int GL_NEAREST
public static final int GL_NEAREST_MIPMAP_LINEAR
public static final int GL_NEAREST_MIPMAP_NEAREST
public static final int GL_NEVER
public static final int GL_NONE
public static final int GL_NOTEQUAL
public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS
public static final int GL_ONE
public static final int GL_ONE_MINUS_SRC_ALPHA
public static final int GL_ONE_MINUS_SRC_COLOR
public static final int GL_POINTS
public static final int GL_POLYGON_OFFSET_FILL
public static final int GL_RENDERBUFFER
public static final int GL_RENDERER
public static final int GL_REPEAT
public static final int GL_RGB
public static final int GL_RGB565
public static final int GL_RGB5_A1
public static final int GL_RGBA
public static final int GL_RGBA4
public static final int GL_SAMPLE_ALPHA_TO_COVERAGE
public static final int GL_SCISSOR_TEST
public static final int GL_SHADING_LANGUAGE_VERSION
public static final int GL_SHORT
public static final int GL_SRC_COLOR
public static final int GL_SRC_ALPHA
public static final int GL_STATIC_DRAW
public static final int GL_STENCIL_BUFFER_BIT
public static final int GL_STREAM_DRAW
public static final int GL_SUBPIXEL_BITS
public static final int GL_TEXTURE
public static final int GL_TEXTURE0
public static final int GL_TEXTURE_2D
public static final int GL_TEXTURE_CUBE_MAP
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X
public static final int GL_TEXTURE_MAG_FILTER
public static final int GL_TEXTURE_MIN_FILTER
public static final int GL_TEXTURE_WRAP_S
public static final int GL_TEXTURE_WRAP_T
public static final int GL_TRIANGLES
public static final int GL_TRIANGLE_FAN
public static final int GL_TRIANGLE_STRIP
public static final int GL_TRUE
public static final int GL_UNPACK_ALIGNMENT
public static final int GL_UNSIGNED_BYTE
public static final int GL_UNSIGNED_INT
public static final int GL_UNSIGNED_SHORT
public static final int GL_UNSIGNED_SHORT_4_4_4_4
public static final int GL_UNSIGNED_SHORT_5_5_5_1
public static final int GL_UNSIGNED_SHORT_5_6_5
public static final int GL_VENDOR
public static final int GL_VERSION
public static final int GL_VERTEX_SHADER
public static final int GL_ZERO
public static void glActiveTexture(int texture)
public static void glAttachShader(int program, int shader)
public static void glBindBuffer(int target, int buffer)
public static void glBindFramebuffer(int target, int framebuffer)
public static void glBindRenderbuffer(int target, int renderbuffer)
public static void glBindTexture(int target, int texture)
public static void glBlendEquationSeparate(int colorMode, int alphaMode)
public static void glBlendFunc(int sfactor, int dfactor)
public static void glBlendFuncSeparate(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha)
public static void glBufferData(int target, int size, java.nio.Buffer data, int usage)
public static void glBufferData2(int target, int size, byte[] data, int offset, int usage)
public static void glBufferSubData(int target, int offset, int size, java.nio.Buffer data)
public static void glBufferSubData2(int target, int offset, int size, byte[] data, int dataoffset)
public static int glCheckFramebufferStatus(int target)
public static void glClear(int mask)
public static void glClearColor(float red, float green, float blue, float alpha)
public static void glColorMask(boolean red, boolean green, boolean blue, boolean alpha)
public static void glCompileShader(int shader)
public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer pixels)
public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer pixels)
public static int glCreateProgram()
public static int glCreateShader(int type)
public static void glCullFace(int mode)
public static void glDeleteBuffers(int n, int[] buffers, int offset)
public static void glDeleteFramebuffers(int n, int[] framebuffers, int offset)
public static void glDeleteProgram(int program)
public static void glDeleteRenderbuffers(int n, int[] renderbuffers, int offset)
public static void glDeleteShader(int shader)
public static void glDeleteTextures(int n, int[] textures, int offset)
public static void glDepthFunc(int func)
public static void glDepthMask(boolean flag)
public static void glDepthRangef(float zNear, float zFar)
public static void glDetachShader(int program, int shader)
public static void glDisableVertexAttribArray(int index)
public static void glDisable(int cap)
public static void glDrawArrays(int mode, int first, int count)
public static void glDrawElements(int mode, int count, int type, java.nio.Buffer indices)
public static void glDrawElements2(int mode, int count, int type, byte[] indices, int offset)
public static void glDrawElementsIndex(int mode, int count, int type, int offset)
public static void glEnable(int cap)
public static void glEnableVertexAttribArray(int index)
public static void glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)
public static void glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)
public static void glGenBuffers(int n, int[] buffers, int offset)
public static void glGenFramebuffers(int n, int[] framebuffers, int offset)
public static void glGenRenderbuffers(int n, int[] renderbuffers, int offset)
public static void glGenTextures(int n, int[] textures, int offset)
public static void glGenerateMipmap(int target)
public static int glGetAttribLocation(int program, java.lang.String name)
public static int glGetError()
public static void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, int[] params, int offset)
public static void glGetIntegerv(int pname, int[] params, int offset)
public static java.lang.String glGetProgramInfoLog(int program)
public static void glGetProgramiv(int program, int pname, int[] params, int offset)
public static java.lang.String glGetShaderInfoLog(int shader)
public static void glGetShaderiv(int shader, int pname, int[] params, int offset)
public static java.lang.String glGetString(int name)
public static int glGetUniformLocation(int program, java.lang.String name)
public static boolean glIsFramebuffer(int framebuffer)
public static boolean glIsRenderbuffer(int renderbuffer)
public static void glLineWidth(float width)
public static void glLinkProgram(int program)
public static void glPixelStorei(int pname, int param)
public static void glPolygonOffset(float factor, float units)
public static void glReadPixels(int vpX, int vpY, int vpW, int vpH, int format, int type, java.nio.Buffer pixels)
public static void glReadPixels2(int vpX, int vpY, int vpW, int vpH, int format, int type, byte[] pixels, int offset, int size)
public static void glRenderbufferStorage(int target, int internalformat, int width, int height)
public static void glScissor(int x, int y, int width, int height)
public static void glShaderSource(int shader, java.lang.String string)
public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels)
public static void glTexParameteri(int target, int pname, int param)
public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels)
public static void glUniform1f(int location, float x)
public static void glUniform1fv(int location, int count, java.nio.FloatBuffer v)
public static void glUniform1fv2(int location, int count, float[] v, int offset)
public static void glUniform1i(int location, int x)
public static void glUniform1iv(int location, int count, java.nio.IntBuffer v)
public static void glUniform1iv2(int location, int count, int[] v, int offset)
public static void glUniform2f(int location, float x, float y)
public static void glUniform2fv(int location, int count, java.nio.FloatBuffer v)
public static void glUniform2fv2(int location, int count, float[] v, int offset)
public static void glUniform3f(int location, float x, float y, float z)
public static void glUniform3fv(int location, int count, java.nio.FloatBuffer v)
public static void glUniform3fv2(int location, int count, float[] v, int offset)
public static void glUniform4f(int location, float x, float y, float z, float w)
public static void glUniform4fv(int location, int count, java.nio.FloatBuffer v)
public static void glUniform4fv2(int location, int count, float[] v, int offset)
public static void glUniformMatrix3fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)
public static void glUniformMatrix3fv2(int location, int count, boolean transpose, float[] value, int offset)
public static void glUniformMatrix4fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)
public static void glUniformMatrix4fv2(int location, int count, boolean transpose, float[] value, int offset)
public static void glUseProgram(int program)
public static void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, java.nio.Buffer ptr)
public static void glVertexAttribPointer2(int indx, int size, int type, boolean normalized, int stride, int offset)
public static void glViewport(int x, int y, int width, int height)
public static void checkGLError()