Package | Description |
---|---|
java.nio |
Defines buffers, which are containers for data, and provides an overview of the
other NIO packages.
|
javax.microedition.khronos.opengles |
A package containing the Khronos OpenGL(R) ES interfaces.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteBuffer
A byte buffer.
|
class |
FloatBuffer
A float buffer.
|
class |
IntBuffer
An int buffer.
|
class |
ShortBuffer
A short buffer.
|
Modifier and Type | Method and Description |
---|---|
Buffer |
Buffer.clear()
Clears this buffer.
|
Buffer |
Buffer.flip()
Flips this buffer.
|
Buffer |
Buffer.limit(int newLimit)
Sets this buffer's limit.
|
Buffer |
Buffer.position(int newPosition)
Sets this buffer's position.
|
Buffer |
Buffer.rewind()
Rewinds this buffer.
|
Modifier and Type | Method and Description |
---|---|
void |
GL11.glBufferData(int target,
int size,
Buffer data,
int usage)
Creates and initializes the data store of a buffer object.
|
void |
GL11.glBufferSubData(int target,
int offset,
int size,
Buffer data)
Modifies some or all of the data contained in a buffer object's
data store.
|
void |
GL10.glColorPointer(int size,
int type,
int stride,
Buffer pointer)
Define an array of colors.
|
void |
GL11ExtensionPack.glCompressedTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int imageSize,
Buffer data)
(1.1 +
OES_texture_cube_map extension)
Specify a two-dimensional compressed texture image. |
void |
GL10.glCompressedTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int imageSize,
Buffer data)
Specify a two-dimensional compressed texture image.
|
void |
GL10.glCompressedTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int imageSize,
Buffer data)
Specify a two-dimensional compressed texture subimage.
|
void |
GL10.glDrawElements(int mode,
int count,
int type,
Buffer indices)
Render primitives from array data.
|
void |
GL11.glGetPointerv(int pname,
Buffer[] params)
Return the
Buffer associated with the specified pointer. |
void |
GL11Ext.glMatrixIndexPointerOES(int size,
int type,
int stride,
Buffer pointer)
(
OES_matrix_palette extension) Define an array of
matrix indices. |
void |
GL10.glNormalPointer(int type,
int stride,
Buffer pointer)
Define an array of normals.
|
void |
GL11.glPointSizePointerOES(int type,
int stride,
Buffer pointer)
(
OES_point_size_array extension) Define an array of
point sizes. |
void |
GL10.glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
Buffer pixels)
Read a block of pixels from the color buffer.
|
void |
GL10.glTexCoordPointer(int size,
int type,
int stride,
Buffer pointer)
Define an array of texture coordinates.
|
void |
GL10.glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
Buffer pixels)
Specify a two-dimensional texture image.
|
void |
GL10.glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
Buffer pixels)
Specify a two-dimensional texture subimage.
|
void |
GL10.glVertexPointer(int size,
int type,
int stride,
Buffer pointer)
Define an array of vertex coordinates.
|
void |
GL11Ext.glWeightPointerOES(int size,
int type,
int stride,
Buffer pointer)
(
OES_matrix_palette extension) Define an array of weights. |
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.