com.neovisionaries.android.opengl
Class GLESState

java.lang.Object
  extended by com.neovisionaries.android.opengl.GLESState

public final class GLESState
extends Object

GLES state.

Author:
Takahiko Kawasaki
See Also:
glGet

Method Summary
static int getActiveTexture()
          Get the state value of GL_ACTIVE_TEXTURE.
static int getArrayBufferBinding()
          Get the state value of GL_ARRAY_BUFFER_BINDING.
static boolean[] getColorWritemask()
          Get the state value of GL_COLOR_WRITEMASK.
static boolean getDepthWritemask()
          Get the state value of GL_DEPTH_WRITEMASK.
static int getElementArrayBufferBinding()
          Get the state value of GL_ELEMENT_ARRAY_BUFFER_BINDING.
static Set<String> getExtensions()
          Get the state value of GL_EXTENSIONS.
static int getMaxRenderbufferSize()
          Get the state value of GL_MAX_RENDERBUFFER_SIZE.
static int getMaxTextureImageUnits()
          Get the state value of GL_MAX_TEXTURE_IMAGE_UNITS.
static int getRenderbufferBinding()
          Get the state value of GL_RENDERBUFFER_BINDING.
static int getTextureBinding2D()
          Get the state value of GL_TEXTURE_BINDING_2D.
static int getTextureBindingCubeMap()
          Get the state value of GL_TEXTURE_BINDING_CUBE_MAP.
static String getVersion()
          Get the state value of GL_VERSION.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getActiveTexture

public static int getActiveTexture()
Get the state value of GL_ACTIVE_TEXTURE.


getArrayBufferBinding

public static int getArrayBufferBinding()
Get the state value of GL_ARRAY_BUFFER_BINDING.


getColorWritemask

public static boolean[] getColorWritemask()
Get the state value of GL_COLOR_WRITEMASK.

Returns:
A boolean array of size 4. The values indicate whether the red, green, blue and alpha components are writable or not.

getDepthWritemask

public static boolean getDepthWritemask()
Get the state value of GL_DEPTH_WRITEMASK.


getElementArrayBufferBinding

public static int getElementArrayBufferBinding()
Get the state value of GL_ELEMENT_ARRAY_BUFFER_BINDING.


getExtensions

public static Set<String> getExtensions()
Get the state value of GL_EXTENSIONS.

See Also:
Extension

getMaxRenderbufferSize

public static int getMaxRenderbufferSize()
Get the state value of GL_MAX_RENDERBUFFER_SIZE.


getMaxTextureImageUnits

public static int getMaxTextureImageUnits()
Get the state value of GL_MAX_TEXTURE_IMAGE_UNITS.


getRenderbufferBinding

public static int getRenderbufferBinding()
Get the state value of GL_RENDERBUFFER_BINDING.


getTextureBinding2D

public static int getTextureBinding2D()
Get the state value of GL_TEXTURE_BINDING_2D.


getTextureBindingCubeMap

public static int getTextureBindingCubeMap()
Get the state value of GL_TEXTURE_BINDING_CUBE_MAP.


getVersion

public static String getVersion()
Get the state value of GL_VERSION.