public static class J3DIndexAccessor.JOGLIndexAccessor extends J3DIndexAccessor
This impl handles JOGLGeometry.
J3DIndexAccessor.J3DCoordOnlyIndexAccessor, J3DIndexAccessor.J3DCopyIndexAccessor, J3DIndexAccessor.J3DRefIndexAccessor, J3DIndexAccessor.JOGLIndexAccessor| Modifier and Type | Field and Description |
|---|---|
protected java.nio.IntBuffer |
indexBuffer
reference to the index buffer
|
colorIndex, coordIndex, iga, indexCount, indexIndex, initialIndexIndex, jg, normalIndex, texCoordIndex, validIndexCount| Constructor and Description |
|---|
J3DIndexAccessor.JOGLIndexAccessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkFormat(javax.media.j3d.IndexedGeometryArray iga)
this impl returns false
|
boolean |
checkFormat(JOGLGeometry jg)
this impl checks
JOGLGeometry.isIndexed() |
J3DIndexAccessor |
newInstance()
make a new instance of this accessor implementation
|
J3DIndexAccessor |
read()
Access the index storage and read the index at
J3DIndexAccessor.indexIndex. |
J3DIndexAccessor |
reset(JOGLGeometry jg)
similar to
J3DIndexAccessor.reset(IndexedGeometryArray) |
public J3DIndexAccessor reset(JOGLGeometry jg)
J3DIndexAccessor.reset(IndexedGeometryArray)reset in class J3DIndexAccessorpublic J3DIndexAccessor read()
Access the index storage and read the index at J3DIndexAccessor.indexIndex.
Note: if J3DIndexAccessor.indexIndex is outside the legal bounds for the index
storage then the underlying access method will throw an exception
according to the storage type.
read in class J3DIndexAccessorpublic boolean checkFormat(javax.media.j3d.IndexedGeometryArray iga)
checkFormat in class J3DIndexAccessorpublic boolean checkFormat(JOGLGeometry jg)
JOGLGeometry.isIndexed()checkFormat in class J3DIndexAccessorpublic J3DIndexAccessor newInstance()
newInstance in class J3DIndexAccessor