public static class J3DIndexAccessor.J3DCoordOnlyIndexAccessor extends J3DIndexAccessor
This impl handles coord-index-only by-copy index storage.
J3DIndexAccessor.J3DCoordOnlyIndexAccessor, J3DIndexAccessor.J3DCopyIndexAccessor, J3DIndexAccessor.J3DRefIndexAccessor, J3DIndexAccessor.JOGLIndexAccessor
colorIndex, coordIndex, iga, indexCount, indexIndex, initialIndexIndex, jg, normalIndex, texCoordIndex, validIndexCount
Constructor and Description |
---|
J3DIndexAccessor.J3DCoordOnlyIndexAccessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkFormat(javax.media.j3d.IndexedGeometryArray iga)
Check if the class, storage type, and vertex format of iga is
compatible with this accessor implementation.
|
J3DIndexAccessor |
newInstance()
make a new instance of this accessor implementation
|
J3DIndexAccessor |
read()
Access the index storage and read the index at
J3DIndexAccessor.indexIndex . |
advance, checkFormat, componentIndicesSame, cons, cons, consAll, consAll, getNumImplementations, hasNext, hasNext, next, read, readRaw, reset, reset, reset, resetImpl, seek, seekRaw
public J3DIndexAccessor.J3DCoordOnlyIndexAccessor()
public 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 J3DIndexAccessor
public boolean checkFormat(javax.media.j3d.IndexedGeometryArray iga)
Check if the class, storage type, and vertex format of iga is compatible with this accessor implementation.
checkFormat
in class J3DIndexAccessor
public J3DIndexAccessor newInstance()
newInstance
in class J3DIndexAccessor