Region, OutlineShape
| Modifier and Type | Field and Description |
|---|---|
| protected final TextureSequence |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected abstract void | |
| public static GLRegion | create(int
bit-field of modes, e.g. renderModes, final TextureSequence Region#VARWEIGHT_RENDERING_BIT, Region#VBAA_RENDERING_BIToptional colorTexSeq)TextureSequence for Region#COLORTEXTURE_RENDERING_BIT rendering mode.Create a GLRegion using the passed render mode In case |
| public final void | |
| protected abstract void | |
| public final void | draw(final GL2ES2
current gl, final RegionRenderer PMVMatrix.the renderer, final int[] RegionRenderer to be useddesired multisampling sample count for msaa-rendering.
The actual used scample-count is written back when msaa-rendering is enabled, otherwise the store is untouched. sampleCount)Renders the associated OGL objects specifying current width/hight of window for multi pass rendering of the region. |
| protected abstract void | |
| protected abstract void | updateImpl(final GL2ES2 gl)
Updates a graph region by updating the ogl related
objects for use in rendering if |
| colorTexSeq | back to summary |
|---|---|
| protected final TextureSequence colorTexSeq | |
| GLRegion | back to summary |
|---|---|
| protected GLRegion(final int renderModes, final TextureSequence colorTexSeq) | |
| clear | back to summary |
|---|---|
| public void clear(final GL2ES2 gl) Clears all data, i.e. triangles, vertices etc. | |
| clearImpl | back to summary |
|---|---|
| protected abstract void clearImpl(final GL2ES2 gl) | |
| create | back to summary |
|---|---|
| public static GLRegion create(int renderModes, final TextureSequence colorTexSeq) Create a GLRegion using the passed render mode In case
| |
| destroy | back to summary |
|---|---|
| public final void destroy(final GL2ES2 gl) Delete and clear the associated OGL objects. | |
| destroyImpl | back to summary |
|---|---|
| protected abstract void destroyImpl(final GL2ES2 gl) | |
| draw | back to summary |
|---|---|
| public final void draw(final GL2ES2 gl, final RegionRenderer renderer, final int[] sampleCount) Renders the associated OGL objects specifying current width/hight of window for multi pass rendering of the region.
User shall consider
Users shall also consider setting the
Note If
| |
| drawImpl | back to summary |
|---|---|
| protected abstract void drawImpl(final GL2ES2 gl, final RegionRenderer renderer, final int[] sampleCount) | |
| updateImpl | back to summary |
|---|---|
| protected abstract void updateImpl(final GL2ES2 gl) Updates a graph region by updating the ogl related
objects for use in rendering if Allocates the ogl related data and initializes it the 1st time.
Called by | |