| Modifier and Type | Field and Description |
|---|---|
| protected byte | |
| protected byte | |
| protected static final int | |
| protected int | |
| protected byte[] | |
| protected float[] | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected byte | |
| protected int | |
| private final BaseContext | |
| protected byte | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | addMappedPgram(float dx11, float dy11, float dx21, float dy21, float dx12, float dy12, float dx22, float dy22, float ux11, float uy11, float ux21, float uy21, float ux12, float uy12, float ux22, float uy22, float vx11, float vy11, float vx22, float vy22, AffineBase tx)
|
| public final void | addMappedPgram(float dx11, float dy11, float dx21, float dy21, float dx12, float dy12, float dx22, float dy22, float ux11, float uy11, float ux21, float uy21, float ux12, float uy12, float ux22, float uy22, float vx, float vy)
|
| public final void | addMappedPgram(float dx11, float dy11, float dx21, float dy21, float dx12, float dy12, float dx22, float dy22, float ux11, float uy11, float ux21, float uy21, float ux12, float uy12, float ux22, float uy22, float vx11, float vy11, float vx21, float vy21, float vx12, float vy12, float vx22, float vy22)
|
| public final void | addMappedQuad(float dx1, float dy1, float dx2, float dy2, float tx11, float ty11, float tx21, float ty21, float tx12, float ty12, float tx22, float ty22)
|
| public final void | addMappedQuad(float dx1, float dy1, float dx2, float dy2, float ux11, float uy11, float ux21, float uy21, float ux12, float uy12, float ux22, float uy22, float vx11, float vy11, float vx21, float vy21, float vx12, float vy12, float vx22, float vy22)
|
| public final void | |
| public final void | addQuad(float dx1, float dy1, float dx2, float dy2, float t1x1, float t1y1, float t1x2, float t1y2, float t2x1, float t2y1, float t2x2, float t2y2)
|
| public final void | addQuad(float dx1, float dy1, float dx2, float dy2, float tx1, float ty1, float tx2, float ty2, AffineBase tx)
|
| public final void | |
| public final void | addQuadVO(float topopacity, float botopacity, float dx1, float dy1, float dx2, float dy2, float tx1, float ty1, float tx2, float ty2)
|
| public final void | addSuperQuad(float dx1, float dy1, float dx2, float dy2, float tx1, float ty1, float tx2, float ty2, boolean isText)
|
| public final void | |
| public final void | |
| public final void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public final void | |
| private void | |
| private void | |
| public final void | |
| public final void | |
| public final void | |
| public final void |
| a | back to summary |
|---|---|
| protected byte a | |
| b | back to summary |
|---|---|
| protected byte b | |
| BYTES_PER_VERT | back to summary |
|---|---|
| protected static final int BYTES_PER_VERT | |
| capacity | back to summary |
|---|---|
| protected int capacity | |
| colorArray | back to summary |
|---|---|
| protected byte[] colorArray | |
| coordArray | back to summary |
|---|---|
| protected float[] coordArray | |
| FLOATS_PER_TC | back to summary |
|---|---|
| protected static final int FLOATS_PER_TC | |
| FLOATS_PER_VC | back to summary |
|---|---|
| protected static final int FLOATS_PER_VC | |
| FLOATS_PER_VERT | back to summary |
|---|---|
| protected static final int FLOATS_PER_VERT | |
| g | back to summary |
|---|---|
| protected byte g | |
| index | back to summary |
|---|---|
| protected int index | |
| ownerCtx | back to summary |
|---|---|
| private final BaseContext ownerCtx | |
| r | back to summary |
|---|---|
| protected byte r | |
| TC1OFF | back to summary |
|---|---|
| protected static final int TC1OFF | |
| TC2OFF | back to summary |
|---|---|
| protected static final int TC2OFF | |
| VCOFF | back to summary |
|---|---|
| protected static final int VCOFF | |
| VERTS_PER_QUAD | back to summary |
|---|---|
| protected static final int VERTS_PER_QUAD | |
| VertexBuffer | back to summary |
|---|---|
| public VertexBuffer(BaseContext owner, int maxQuads) | |
| addMappedPgram | back to summary |
|---|---|
| public final void addMappedPgram(float dx11, float dy11, float dx21, float dy21, float dx12, float dy12, float dx22, float dy22, float ux11, float uy11, float ux21, float uy21, float ux12, float uy12, float ux22, float uy22, float vx11, float vy11, float vx22, float vy22, AffineBase tx) | |
| addMappedPgram | back to summary |
|---|---|
| public final void addMappedPgram(float dx11, float dy11, float dx21, float dy21, float dx12, float dy12, float dx22, float dy22, float ux11, float uy11, float ux21, float uy21, float ux12, float uy12, float ux22, float uy22, float vx, float vy) | |
| addMappedPgram | back to summary |
|---|---|
| public final void addMappedPgram(float dx11, float dy11, float dx21, float dy21, float dx12, float dy12, float dx22, float dy22, float ux11, float uy11, float ux21, float uy21, float ux12, float uy12, float ux22, float uy22, float vx11, float vy11, float vx21, float vy21, float vx12, float vy12, float vx22, float vy22) | |
| addMappedQuad | back to summary |
|---|---|
| public final void addMappedQuad(float dx1, float dy1, float dx2, float dy2, float tx11, float ty11, float tx21, float ty21, float tx12, float ty12, float tx22, float ty22) | |
| addMappedQuad | back to summary |
|---|---|
| public final void addMappedQuad(float dx1, float dy1, float dx2, float dy2, float ux11, float uy11, float ux21, float uy21, float ux12, float uy12, float ux22, float uy22, float vx11, float vy11, float vx21, float vy21, float vx12, float vy12, float vx22, float vy22) | |
| addQuad | back to summary |
|---|---|
| public final void addQuad(float dx1, float dy1, float dx2, float dy2) | |
| addQuad | back to summary |
|---|---|
| public final void addQuad(float dx1, float dy1, float dx2, float dy2, float t1x1, float t1y1, float t1x2, float t1y2, float t2x1, float t2y1, float t2x2, float t2y2) | |
| addQuad | back to summary |
|---|---|
| public final void addQuad(float dx1, float dy1, float dx2, float dy2, float tx1, float ty1, float tx2, float ty2, AffineBase tx) | |
| addQuad | back to summary |
|---|---|
| public final void addQuad(float dx1, float dy1, float dx2, float dy2, float tx1, float ty1, float tx2, float ty2) | |
| addQuadVO | back to summary |
|---|---|
| public final void addQuadVO(float topopacity, float botopacity, float dx1, float dy1, float dx2, float dy2, float tx1, float ty1, float tx2, float ty2) | |
| addSuperQuad | back to summary |
|---|---|
| public final void addSuperQuad(float dx1, float dy1, float dx2, float dy2, float tx1, float ty1, float tx2, float ty2, boolean isText) | |
| addVert | back to summary |
|---|---|
| public final void addVert(float x, float y) | |
| addVert | back to summary |
|---|---|
| public final void addVert(float x, float y, float tx, float ty) | |
| addVert | back to summary |
|---|---|
| public final void addVert(float x, float y, float t0x, float t0y, float t1x, float t1y) | |
| addVertNoCheck | back to summary |
|---|---|
| private void addVertNoCheck(float x, float y) | |
| addVertNoCheck | back to summary |
|---|---|
| private void addVertNoCheck(float x, float y, float tx, float ty) | |
| addVertNoCheck | back to summary |
|---|---|
| private void addVertNoCheck(float x, float y, float t0x, float t0y, float t1x, float t1y) | |
| ensureCapacityForQuad | back to summary |
|---|---|
| private void ensureCapacityForQuad() | |
| flush | back to summary |
|---|---|
| public final void flush() Flushes (renders) all pending vertices (triangles) in the buffer to the owner BaseContext. This operation only applies to heavyweight buffers; calling flush() on a lightweight buffer will result in an exception. | |
| grow | back to summary |
|---|---|
| private void grow() | |
| putColor | back to summary |
|---|---|
| private void putColor(int idx) | |
| rewind | back to summary |
|---|---|
| public final void rewind() | |
| setPerVertexColor | back to summary |
|---|---|
| public final void setPerVertexColor(Color c, float extraAlpha) | |
| setPerVertexColor | back to summary |
|---|---|
| public final void setPerVertexColor(float extraAlpha) | |
| updateVertexColors | back to summary |
|---|---|
| public final void updateVertexColors(int numVerts) | |