com.badlogic.gdx.graphics
Interface GLCommon
- All Known Subinterfaces:
- GL10, GL11, GL20
public interface GLCommon
This interface defines methods common to GL10, GL11 and GL20.
- Author:
- mzechner
Method Summary |
void |
glActiveTexture(int texture)
|
void |
glBindTexture(int target,
int texture)
|
void |
glBlendFunc(int sfactor,
int dfactor)
|
void |
glClear(int mask)
|
void |
glClearColor(float red,
float green,
float blue,
float alpha)
|
void |
glClearDepthf(float depth)
|
void |
glClearStencil(int s)
|
void |
glColorMask(boolean red,
boolean green,
boolean blue,
boolean alpha)
|
void |
glCompressedTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int imageSize,
Buffer data)
|
void |
glCompressedTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int imageSize,
Buffer data)
|
void |
glCopyTexImage2D(int target,
int level,
int internalformat,
int x,
int y,
int width,
int height,
int border)
|
void |
glCopyTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int x,
int y,
int width,
int height)
|
void |
glCullFace(int mode)
|
void |
glDeleteTextures(int n,
IntBuffer textures)
|
void |
glDepthFunc(int func)
|
void |
glDepthMask(boolean flag)
|
void |
glDepthRangef(float zNear,
float zFar)
|
void |
glDisable(int cap)
|
void |
glDrawArrays(int mode,
int first,
int count)
|
void |
glDrawElements(int mode,
int count,
int type,
Buffer indices)
|
void |
glEnable(int cap)
|
void |
glFinish()
|
void |
glFlush()
|
void |
glFrontFace(int mode)
|
void |
glGenTextures(int n,
IntBuffer textures)
|
int |
glGetError()
|
void |
glGetIntegerv(int pname,
IntBuffer params)
|
String |
glGetString(int name)
|
void |
glHint(int target,
int mode)
|
void |
glLineWidth(float width)
|
void |
glPixelStorei(int pname,
int param)
|
void |
glPolygonOffset(float factor,
float units)
|
void |
glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
Buffer pixels)
|
void |
glScissor(int x,
int y,
int width,
int height)
|
void |
glStencilFunc(int func,
int ref,
int mask)
|
void |
glStencilMask(int mask)
|
void |
glStencilOp(int fail,
int zfail,
int zpass)
|
void |
glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
Buffer pixels)
|
void |
glTexParameterf(int target,
int pname,
float param)
|
void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
Buffer pixels)
|
void |
glViewport(int x,
int y,
int width,
int height)
|
GL_GENERATE_MIPMAP
static final int GL_GENERATE_MIPMAP
- See Also:
- Constant Field Values
GL_TEXTURE_MAX_ANISOTROPY_EXT
static final int GL_TEXTURE_MAX_ANISOTROPY_EXT
- See Also:
- Constant Field Values
GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
static final int GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
- See Also:
- Constant Field Values
glActiveTexture
void glActiveTexture(int texture)
glBindTexture
void glBindTexture(int target,
int texture)
glBlendFunc
void glBlendFunc(int sfactor,
int dfactor)
glClear
void glClear(int mask)
glClearColor
void glClearColor(float red,
float green,
float blue,
float alpha)
glClearDepthf
void glClearDepthf(float depth)
glClearStencil
void glClearStencil(int s)
glColorMask
void glColorMask(boolean red,
boolean green,
boolean blue,
boolean alpha)
glCompressedTexImage2D
void glCompressedTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int imageSize,
Buffer data)
glCompressedTexSubImage2D
void glCompressedTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int imageSize,
Buffer data)
glCopyTexImage2D
void glCopyTexImage2D(int target,
int level,
int internalformat,
int x,
int y,
int width,
int height,
int border)
glCopyTexSubImage2D
void glCopyTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int x,
int y,
int width,
int height)
glCullFace
void glCullFace(int mode)
glDeleteTextures
void glDeleteTextures(int n,
IntBuffer textures)
glDepthFunc
void glDepthFunc(int func)
glDepthMask
void glDepthMask(boolean flag)
glDepthRangef
void glDepthRangef(float zNear,
float zFar)
glDisable
void glDisable(int cap)
glDrawArrays
void glDrawArrays(int mode,
int first,
int count)
glDrawElements
void glDrawElements(int mode,
int count,
int type,
Buffer indices)
glEnable
void glEnable(int cap)
glFinish
void glFinish()
glFlush
void glFlush()
glFrontFace
void glFrontFace(int mode)
glGenTextures
void glGenTextures(int n,
IntBuffer textures)
glGetError
int glGetError()
glGetIntegerv
void glGetIntegerv(int pname,
IntBuffer params)
glGetString
String glGetString(int name)
glHint
void glHint(int target,
int mode)
glLineWidth
void glLineWidth(float width)
glPixelStorei
void glPixelStorei(int pname,
int param)
glPolygonOffset
void glPolygonOffset(float factor,
float units)
glReadPixels
void glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
Buffer pixels)
glScissor
void glScissor(int x,
int y,
int width,
int height)
glStencilFunc
void glStencilFunc(int func,
int ref,
int mask)
glStencilMask
void glStencilMask(int mask)
glStencilOp
void glStencilOp(int fail,
int zfail,
int zpass)
glTexImage2D
void glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
Buffer pixels)
glTexParameterf
void glTexParameterf(int target,
int pname,
float param)
glTexSubImage2D
void glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
Buffer pixels)
glViewport
void glViewport(int x,
int y,
int width,
int height)
Copyright © 2013. All Rights Reserved.