public static class J3DVertexAccessor.J3DCopyVertexAccessor extends J3DVertexAccessor
This impl handles by-copy vertex storage.
J3DVertexAccessor.J3DBufferVertexAccessor, J3DVertexAccessor.J3DCopyVertexAccessor, J3DVertexAccessor.J3DInterleavedBufferVertexAccessor, J3DVertexAccessor.J3DInterleavedVertexAccessor, J3DVertexAccessor.J3DRefVertexAccessor
color, COLOR, color3, color4, component, componentIndex, coord, COORD, coord3, ga, indexAccessor, initialIndex, jg, normal, NORMAL, normal3, texCoord, TEXCOORD, texCoord2, texCoord3, texCoord4, validVertexCount, vertexCount, vertexIndex
Constructor and Description |
---|
J3DVertexAccessor.J3DCopyVertexAccessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkFormat(javax.media.j3d.GeometryArray ga)
Check if the class, storage type, and vertex format of ga is
compatible with this accessor implementation.
|
J3DVertexAccessor |
newInstance()
make a new instance of this accessor implementation
|
J3DVertexAccessor |
read()
Access the vertex storage and read the enabled vertex components at
J3DVertexAccessor.componentIndex . |
J3DVertexAccessor |
write()
Access the vertex storage and write the enabled vertex components.
|
advance, checkFormat, computeBoundingSphere, cons, cons, consAll, consAll, getNumImplementations, hasNext, hasNext, isIndirect, next, read, read, reset, reset, reset, resetImpl, scaleAll, scaleVertex, seek, seek, seek, setIndexAccessor, setIndirect
public J3DVertexAccessor.J3DCopyVertexAccessor()
public J3DVertexAccessor read()
Access the vertex storage and read the enabled vertex components at
J3DVertexAccessor.componentIndex
.
Note: if the internal indices for the access are outside the legal bounds for the vertex storage then the underlying access method will throw an exception according to the storage type.
read
in class J3DVertexAccessor
public J3DVertexAccessor write()
Access the vertex storage and write the enabled vertex components.
Note: if the internal indices for the access are outside the legal bounds for the vertex storage then the underlying access method will throw an exception according to the storage type.
write
in class J3DVertexAccessor
public boolean checkFormat(javax.media.j3d.GeometryArray ga)
Check if the class, storage type, and vertex format of ga is compatible with this accessor implementation.
checkFormat
in class J3DVertexAccessor
public J3DVertexAccessor newInstance()
newInstance
in class J3DVertexAccessor