public abstract class FeatureRenderer extends OpacityRenderer
SingleFeatureRenderer 单个渲染实现
MergeFeatureRenderer 一批渲染实现BasicRenderer.AsyncLoadTask<O>| 限定符和类型 | 字段和说明 |
|---|---|
protected java.nio.FloatBuffer |
colorBuffer
3d模式缓存数据
|
protected java.nio.FloatBuffer |
colorBuffer2d
2d模式缓存数据
|
protected int |
colorVbo |
protected int |
colorVbo2d |
protected java.util.concurrent.atomic.AtomicInteger |
dataLoadStatus |
protected static float |
FACE_NORMAL_X |
protected static float |
FACE_NORMAL_Y |
protected static float |
FACE_NORMAL_Z |
protected FeatureLayer |
featureLayer |
static java.util.Comparator<FeatureRenderer> |
HEIGHT_COMPARATOR |
protected int |
ibo |
protected int |
ibo2d |
protected static float |
SIDE_COLOR_FACTOR |
protected static int |
STRIDE |
protected int |
textureId
2d模式缓存数据
|
protected static int |
TRIANGLE_POINT_SIZE |
protected int |
vbo |
protected int |
vbo2d |
protected VertexDataArray |
vertexDataArray |
protected VertexDataArray |
vertexDataArray2d |
protected int |
vertexSize |
protected int |
vertexSize2d |
opacity, opacity_0, opacity_1, opacity_area, opacity_framerenderModeDEFAULT_PRIORITY, MODE_2D, MODE_3D| 限定符和类型 | 方法和说明 |
|---|---|
void |
draw(GLContext glContext) |
protected abstract boolean |
filterDraw(GLContext glContext) |
abstract double |
getHeight() |
protected void |
initialize(short[] indexBufferArray,
int vertexSize,
VertexDataArray vertexDataArray) |
protected void |
initialize2d(short[] indexBufferArray,
int vertexSize,
VertexDataArray vertexDataArray) |
protected abstract void |
loadData(java.util.concurrent.CountDownLatch countDownLatch) |
void |
onRemoved() |
protected void |
setEnableTexture(boolean enableTexture) |
getOpacity, setOpacitygetRenderMode, setRenderModebindIBO, bindVBO, bufferData, bufferData, bufferSubData, createBufferObject, createFloatBuffer, createShortBuffer, deleteBufferObject, deleteBufferObject, deleteTextures, getPriority, unBindTexturepublic static final java.util.Comparator<FeatureRenderer> HEIGHT_COMPARATOR
protected static final int TRIANGLE_POINT_SIZE
protected static final float SIDE_COLOR_FACTOR
protected static final float FACE_NORMAL_X
protected static final float FACE_NORMAL_Y
protected static final float FACE_NORMAL_Z
protected static final int STRIDE
protected FeatureLayer featureLayer
protected java.nio.FloatBuffer colorBuffer
protected VertexDataArray vertexDataArray
protected int vbo
protected int ibo
protected int colorVbo
protected int vertexSize
protected java.nio.FloatBuffer colorBuffer2d
protected VertexDataArray vertexDataArray2d
protected int vbo2d
protected int ibo2d
protected int colorVbo2d
protected int vertexSize2d
protected int textureId
protected java.util.concurrent.atomic.AtomicInteger dataLoadStatus
protected void setEnableTexture(boolean enableTexture)
protected void initialize(short[] indexBufferArray,
int vertexSize,
VertexDataArray vertexDataArray)
protected void initialize2d(short[] indexBufferArray,
int vertexSize,
VertexDataArray vertexDataArray)
protected abstract void loadData(java.util.concurrent.CountDownLatch countDownLatch)
public void draw(GLContext glContext)
protected abstract boolean filterDraw(GLContext glContext)
public abstract double getHeight()
public void onRemoved()
onRemoved 在接口中 RendereronRemoved 在类中 BasicRenderer