FileDocCategorySizeDatePackage
GLES31.javaAPI DocAndroid 5.1 API41864Thu Mar 12 22:22:40 GMT 2015android.opengl

GLES31

public class GLES31 extends GLES30
OpenGL ES 3.1

Fields Summary
public static final int
GL_VERTEX_SHADER_BIT
public static final int
GL_FRAGMENT_SHADER_BIT
public static final int
GL_UNIFORM_BARRIER_BIT
public static final int
GL_TEXTURE_FETCH_BARRIER_BIT
public static final int
GL_COMPUTE_SHADER_BIT
public static final int
GL_COMMAND_BARRIER_BIT
public static final int
GL_PIXEL_BUFFER_BARRIER_BIT
public static final int
GL_TEXTURE_UPDATE_BARRIER_BIT
public static final int
GL_BUFFER_UPDATE_BARRIER_BIT
public static final int
GL_FRAMEBUFFER_BARRIER_BIT
public static final int
GL_TRANSFORM_FEEDBACK_BARRIER_BIT
public static final int
GL_ATOMIC_COUNTER_BARRIER_BIT
public static final int
GL_SHADER_STORAGE_BARRIER_BIT
public static final int
GL_ALL_SHADER_BITS
public static final int
GL_TEXTURE_WIDTH
public static final int
GL_TEXTURE_HEIGHT
public static final int
GL_TEXTURE_INTERNAL_FORMAT
public static final int
GL_STENCIL_INDEX
public static final int
GL_TEXTURE_RED_SIZE
public static final int
GL_TEXTURE_GREEN_SIZE
public static final int
GL_TEXTURE_BLUE_SIZE
public static final int
GL_TEXTURE_ALPHA_SIZE
public static final int
GL_TEXTURE_DEPTH
public static final int
GL_PROGRAM_SEPARABLE
public static final int
GL_ACTIVE_PROGRAM
public static final int
GL_PROGRAM_PIPELINE_BINDING
public static final int
GL_MAX_COMPUTE_SHARED_MEMORY_SIZE
public static final int
GL_MAX_COMPUTE_UNIFORM_COMPONENTS
public static final int
GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS
public static final int
GL_MAX_COMPUTE_ATOMIC_COUNTERS
public static final int
GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS
public static final int
GL_COMPUTE_WORK_GROUP_SIZE
public static final int
GL_MAX_UNIFORM_LOCATIONS
public static final int
GL_VERTEX_ATTRIB_BINDING
public static final int
GL_VERTEX_ATTRIB_RELATIVE_OFFSET
public static final int
GL_VERTEX_BINDING_DIVISOR
public static final int
GL_VERTEX_BINDING_OFFSET
public static final int
GL_VERTEX_BINDING_STRIDE
public static final int
GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET
public static final int
GL_MAX_VERTEX_ATTRIB_BINDINGS
public static final int
GL_MAX_VERTEX_ATTRIB_STRIDE
public static final int
GL_TEXTURE_COMPRESSED
public static final int
GL_TEXTURE_DEPTH_SIZE
public static final int
GL_READ_ONLY
public static final int
GL_WRITE_ONLY
public static final int
GL_READ_WRITE
public static final int
GL_TEXTURE_STENCIL_SIZE
public static final int
GL_TEXTURE_RED_TYPE
public static final int
GL_TEXTURE_GREEN_TYPE
public static final int
GL_TEXTURE_BLUE_TYPE
public static final int
GL_TEXTURE_ALPHA_TYPE
public static final int
GL_TEXTURE_DEPTH_TYPE
public static final int
GL_TEXTURE_SHARED_SIZE
public static final int
GL_SAMPLE_POSITION
public static final int
GL_SAMPLE_MASK
public static final int
GL_SAMPLE_MASK_VALUE
public static final int
GL_MAX_SAMPLE_MASK_WORDS
public static final int
GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET
public static final int
GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET
public static final int
GL_MAX_IMAGE_UNITS
public static final int
GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES
public static final int
GL_IMAGE_BINDING_NAME
public static final int
GL_IMAGE_BINDING_LEVEL
public static final int
GL_IMAGE_BINDING_LAYERED
public static final int
GL_IMAGE_BINDING_LAYER
public static final int
GL_IMAGE_BINDING_ACCESS
public static final int
GL_DRAW_INDIRECT_BUFFER
public static final int
GL_DRAW_INDIRECT_BUFFER_BINDING
public static final int
GL_VERTEX_BINDING_BUFFER
public static final int
GL_IMAGE_2D
public static final int
GL_IMAGE_3D
public static final int
GL_IMAGE_CUBE
public static final int
GL_IMAGE_2D_ARRAY
public static final int
GL_INT_IMAGE_2D
public static final int
GL_INT_IMAGE_3D
public static final int
GL_INT_IMAGE_CUBE
public static final int
GL_INT_IMAGE_2D_ARRAY
public static final int
GL_UNSIGNED_INT_IMAGE_2D
public static final int
GL_UNSIGNED_INT_IMAGE_3D
public static final int
GL_UNSIGNED_INT_IMAGE_CUBE
public static final int
GL_UNSIGNED_INT_IMAGE_2D_ARRAY
public static final int
GL_IMAGE_BINDING_FORMAT
public static final int
GL_IMAGE_FORMAT_COMPATIBILITY_TYPE
public static final int
GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE
public static final int
GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS
public static final int
GL_MAX_VERTEX_IMAGE_UNIFORMS
public static final int
GL_MAX_FRAGMENT_IMAGE_UNIFORMS
public static final int
GL_MAX_COMBINED_IMAGE_UNIFORMS
public static final int
GL_SHADER_STORAGE_BUFFER
public static final int
GL_SHADER_STORAGE_BUFFER_BINDING
public static final int
GL_SHADER_STORAGE_BUFFER_START
public static final int
GL_SHADER_STORAGE_BUFFER_SIZE
public static final int
GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS
public static final int
GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS
public static final int
GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS
public static final int
GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS
public static final int
GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS
public static final int
GL_MAX_SHADER_STORAGE_BLOCK_SIZE
public static final int
GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT
public static final int
GL_DEPTH_STENCIL_TEXTURE_MODE
public static final int
GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS
public static final int
GL_DISPATCH_INDIRECT_BUFFER
public static final int
GL_DISPATCH_INDIRECT_BUFFER_BINDING
public static final int
GL_TEXTURE_2D_MULTISAMPLE
public static final int
GL_TEXTURE_BINDING_2D_MULTISAMPLE
public static final int
GL_TEXTURE_SAMPLES
public static final int
GL_TEXTURE_FIXED_SAMPLE_LOCATIONS
public static final int
GL_SAMPLER_2D_MULTISAMPLE
public static final int
GL_INT_SAMPLER_2D_MULTISAMPLE
public static final int
GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE
public static final int
GL_MAX_COLOR_TEXTURE_SAMPLES
public static final int
GL_MAX_DEPTH_TEXTURE_SAMPLES
public static final int
GL_MAX_INTEGER_SAMPLES
public static final int
GL_COMPUTE_SHADER
public static final int
GL_MAX_COMPUTE_UNIFORM_BLOCKS
public static final int
GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS
public static final int
GL_MAX_COMPUTE_IMAGE_UNIFORMS
public static final int
GL_MAX_COMPUTE_WORK_GROUP_COUNT
public static final int
GL_MAX_COMPUTE_WORK_GROUP_SIZE
public static final int
GL_ATOMIC_COUNTER_BUFFER
public static final int
GL_ATOMIC_COUNTER_BUFFER_BINDING
public static final int
GL_ATOMIC_COUNTER_BUFFER_START
public static final int
GL_ATOMIC_COUNTER_BUFFER_SIZE
public static final int
GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS
public static final int
GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS
public static final int
GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS
public static final int
GL_MAX_VERTEX_ATOMIC_COUNTERS
public static final int
GL_MAX_FRAGMENT_ATOMIC_COUNTERS
public static final int
GL_MAX_COMBINED_ATOMIC_COUNTERS
public static final int
GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE
public static final int
GL_ACTIVE_ATOMIC_COUNTER_BUFFERS
public static final int
GL_UNSIGNED_INT_ATOMIC_COUNTER
public static final int
GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS
public static final int
GL_UNIFORM
public static final int
GL_UNIFORM_BLOCK
public static final int
GL_PROGRAM_INPUT
public static final int
GL_PROGRAM_OUTPUT
public static final int
GL_BUFFER_VARIABLE
public static final int
GL_SHADER_STORAGE_BLOCK
public static final int
GL_TRANSFORM_FEEDBACK_VARYING
public static final int
GL_ACTIVE_RESOURCES
public static final int
GL_MAX_NAME_LENGTH
public static final int
GL_MAX_NUM_ACTIVE_VARIABLES
public static final int
GL_NAME_LENGTH
public static final int
GL_TYPE
public static final int
GL_ARRAY_SIZE
public static final int
GL_OFFSET
public static final int
GL_BLOCK_INDEX
public static final int
GL_ARRAY_STRIDE
public static final int
GL_MATRIX_STRIDE
public static final int
GL_IS_ROW_MAJOR
public static final int
GL_ATOMIC_COUNTER_BUFFER_INDEX
public static final int
GL_BUFFER_BINDING
public static final int
GL_BUFFER_DATA_SIZE
public static final int
GL_NUM_ACTIVE_VARIABLES
public static final int
GL_ACTIVE_VARIABLES
public static final int
GL_REFERENCED_BY_VERTEX_SHADER
public static final int
GL_REFERENCED_BY_FRAGMENT_SHADER
public static final int
GL_REFERENCED_BY_COMPUTE_SHADER
public static final int
GL_TOP_LEVEL_ARRAY_SIZE
public static final int
GL_TOP_LEVEL_ARRAY_STRIDE
public static final int
GL_LOCATION
public static final int
GL_FRAMEBUFFER_DEFAULT_WIDTH
public static final int
GL_FRAMEBUFFER_DEFAULT_HEIGHT
public static final int
GL_FRAMEBUFFER_DEFAULT_SAMPLES
public static final int
GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
public static final int
GL_MAX_FRAMEBUFFER_WIDTH
public static final int
GL_MAX_FRAMEBUFFER_HEIGHT
public static final int
GL_MAX_FRAMEBUFFER_SAMPLES
Constructors Summary
private GLES31()


        
     
        _nativeClassInit();
    
Methods Summary
private static native void_nativeClassInit()

public static native voidglActiveShaderProgram(int pipeline, int program)

public static native voidglBindImageTexture(int unit, int texture, int level, boolean layered, int layer, int access, int format)

public static native voidglBindProgramPipeline(int pipeline)

public static native voidglBindVertexBuffer(int bindingindex, int buffer, long offset, int stride)

public static native intglCreateShaderProgramv(int type, java.lang.String[] strings)

public static native voidglDeleteProgramPipelines(int n, int[] pipelines, int offset)

public static native voidglDeleteProgramPipelines(int n, java.nio.IntBuffer pipelines)

public static native voidglDispatchCompute(int num_groups_x, int num_groups_y, int num_groups_z)

public static native voidglDispatchComputeIndirect(long indirect)

public static native voidglDrawArraysIndirect(int mode, long indirect)

public static native voidglDrawElementsIndirect(int mode, int type, long indirect)

public static native voidglFramebufferParameteri(int target, int pname, int param)

public static native voidglGenProgramPipelines(int n, int[] pipelines, int offset)

public static native voidglGenProgramPipelines(int n, java.nio.IntBuffer pipelines)

public static native voidglGetBooleani_v(int target, int index, boolean[] data, int offset)

public static native voidglGetBooleani_v(int target, int index, java.nio.IntBuffer data)

public static native voidglGetFramebufferParameteriv(int target, int pname, int[] params, int offset)

public static native voidglGetFramebufferParameteriv(int target, int pname, java.nio.IntBuffer params)

public static native voidglGetMultisamplefv(int pname, int index, float[] val, int offset)

public static native voidglGetMultisamplefv(int pname, int index, java.nio.FloatBuffer val)

public static native voidglGetProgramInterfaceiv(int program, int programInterface, int pname, int[] params, int offset)

public static native voidglGetProgramInterfaceiv(int program, int programInterface, int pname, java.nio.IntBuffer params)

public static native java.lang.StringglGetProgramPipelineInfoLog(int program)

public static native voidglGetProgramPipelineiv(int pipeline, int pname, int[] params, int offset)

public static native voidglGetProgramPipelineiv(int pipeline, int pname, java.nio.IntBuffer params)

public static native intglGetProgramResourceIndex(int program, int programInterface, java.lang.String name)

public static native intglGetProgramResourceLocation(int program, int programInterface, java.lang.String name)

public static native java.lang.StringglGetProgramResourceName(int program, int programInterface, int index)

public static native voidglGetProgramResourceiv(int program, int programInterface, int index, int propCount, int[] props, int propsOffset, int bufSize, int[] length, int lengthOffset, int[] params, int paramsOffset)

public static native voidglGetProgramResourceiv(int program, int programInterface, int index, int propCount, java.nio.IntBuffer props, int bufSize, java.nio.IntBuffer length, java.nio.IntBuffer params)

public static native voidglGetTexLevelParameterfv(int target, int level, int pname, float[] params, int offset)

public static native voidglGetTexLevelParameterfv(int target, int level, int pname, java.nio.FloatBuffer params)

public static native voidglGetTexLevelParameteriv(int target, int level, int pname, int[] params, int offset)

public static native voidglGetTexLevelParameteriv(int target, int level, int pname, java.nio.IntBuffer params)

public static native booleanglIsProgramPipeline(int pipeline)

public static native voidglMemoryBarrier(int barriers)

public static native voidglMemoryBarrierByRegion(int barriers)

public static native voidglProgramUniform1f(int program, int location, float v0)

public static native voidglProgramUniform1fv(int program, int location, int count, float[] value, int offset)

public static native voidglProgramUniform1fv(int program, int location, int count, java.nio.FloatBuffer value)

public static native voidglProgramUniform1i(int program, int location, int v0)

public static native voidglProgramUniform1iv(int program, int location, int count, int[] value, int offset)

public static native voidglProgramUniform1iv(int program, int location, int count, java.nio.IntBuffer value)

public static native voidglProgramUniform1ui(int program, int location, int v0)

public static native voidglProgramUniform1uiv(int program, int location, int count, int[] value, int offset)

public static native voidglProgramUniform1uiv(int program, int location, int count, java.nio.IntBuffer value)

public static native voidglProgramUniform2f(int program, int location, float v0, float v1)

public static native voidglProgramUniform2fv(int program, int location, int count, float[] value, int offset)

public static native voidglProgramUniform2fv(int program, int location, int count, java.nio.FloatBuffer value)

public static native voidglProgramUniform2i(int program, int location, int v0, int v1)

public static native voidglProgramUniform2iv(int program, int location, int count, int[] value, int offset)

public static native voidglProgramUniform2iv(int program, int location, int count, java.nio.IntBuffer value)

public static native voidglProgramUniform2ui(int program, int location, int v0, int v1)

public static native voidglProgramUniform2uiv(int program, int location, int count, int[] value, int offset)

public static native voidglProgramUniform2uiv(int program, int location, int count, java.nio.IntBuffer value)

public static native voidglProgramUniform3f(int program, int location, float v0, float v1, float v2)

public static native voidglProgramUniform3fv(int program, int location, int count, float[] value, int offset)

public static native voidglProgramUniform3fv(int program, int location, int count, java.nio.FloatBuffer value)

public static native voidglProgramUniform3i(int program, int location, int v0, int v1, int v2)

public static native voidglProgramUniform3iv(int program, int location, int count, int[] value, int offset)

public static native voidglProgramUniform3iv(int program, int location, int count, java.nio.IntBuffer value)

public static native voidglProgramUniform3ui(int program, int location, int v0, int v1, int v2)

public static native voidglProgramUniform3uiv(int program, int location, int count, int[] value, int offset)

public static native voidglProgramUniform3uiv(int program, int location, int count, java.nio.IntBuffer value)

public static native voidglProgramUniform4f(int program, int location, float v0, float v1, float v2, float v3)

public static native voidglProgramUniform4fv(int program, int location, int count, float[] value, int offset)

public static native voidglProgramUniform4fv(int program, int location, int count, java.nio.FloatBuffer value)

public static native voidglProgramUniform4i(int program, int location, int v0, int v1, int v2, int v3)

public static native voidglProgramUniform4iv(int program, int location, int count, int[] value, int offset)

public static native voidglProgramUniform4iv(int program, int location, int count, java.nio.IntBuffer value)

public static native voidglProgramUniform4ui(int program, int location, int v0, int v1, int v2, int v3)

public static native voidglProgramUniform4uiv(int program, int location, int count, int[] value, int offset)

public static native voidglProgramUniform4uiv(int program, int location, int count, java.nio.IntBuffer value)

public static native voidglProgramUniformMatrix2fv(int program, int location, int count, boolean transpose, float[] value, int offset)

public static native voidglProgramUniformMatrix2fv(int program, int location, int count, boolean transpose, java.nio.FloatBuffer value)

public static native voidglProgramUniformMatrix2x3fv(int program, int location, int count, boolean transpose, float[] value, int offset)

public static native voidglProgramUniformMatrix2x3fv(int program, int location, int count, boolean transpose, java.nio.FloatBuffer value)

public static native voidglProgramUniformMatrix2x4fv(int program, int location, int count, boolean transpose, float[] value, int offset)

public static native voidglProgramUniformMatrix2x4fv(int program, int location, int count, boolean transpose, java.nio.FloatBuffer value)

public static native voidglProgramUniformMatrix3fv(int program, int location, int count, boolean transpose, float[] value, int offset)

public static native voidglProgramUniformMatrix3fv(int program, int location, int count, boolean transpose, java.nio.FloatBuffer value)

public static native voidglProgramUniformMatrix3x2fv(int program, int location, int count, boolean transpose, float[] value, int offset)

public static native voidglProgramUniformMatrix3x2fv(int program, int location, int count, boolean transpose, java.nio.FloatBuffer value)

public static native voidglProgramUniformMatrix3x4fv(int program, int location, int count, boolean transpose, float[] value, int offset)

public static native voidglProgramUniformMatrix3x4fv(int program, int location, int count, boolean transpose, java.nio.FloatBuffer value)

public static native voidglProgramUniformMatrix4fv(int program, int location, int count, boolean transpose, float[] value, int offset)

public static native voidglProgramUniformMatrix4fv(int program, int location, int count, boolean transpose, java.nio.FloatBuffer value)

public static native voidglProgramUniformMatrix4x2fv(int program, int location, int count, boolean transpose, float[] value, int offset)

public static native voidglProgramUniformMatrix4x2fv(int program, int location, int count, boolean transpose, java.nio.FloatBuffer value)

public static native voidglProgramUniformMatrix4x3fv(int program, int location, int count, boolean transpose, float[] value, int offset)

public static native voidglProgramUniformMatrix4x3fv(int program, int location, int count, boolean transpose, java.nio.FloatBuffer value)

public static native voidglSampleMaski(int maskNumber, int mask)

public static native voidglTexStorage2DMultisample(int target, int samples, int internalformat, int width, int height, boolean fixedsamplelocations)

public static native voidglUseProgramStages(int pipeline, int stages, int program)

public static native voidglValidateProgramPipeline(int pipeline)

public static native voidglVertexAttribBinding(int attribindex, int bindingindex)

public static native voidglVertexAttribFormat(int attribindex, int size, int type, boolean normalized, int relativeoffset)

public static native voidglVertexAttribIFormat(int attribindex, int size, int type, int relativeoffset)

public static native voidglVertexBindingDivisor(int bindingindex, int divisor)