// we need to check to make sure that the vbo is available each time through the loop because loading
// textures may force vbos out of the cache (see loop below).
if (!this.shouldUseVBOs(dc))
{
FloatBuffer vb = this.coordBuffer;
gl.glVertexPointer(ColladaAbstractGeometry.COORDS_PER_VERTEX, GL.GL_FLOAT, 0, vb.rewind());
}
for (Geometry geometry : this.geometries)
{
Material nextMaterial = geometry.material != null ? geometry.material : defaultMaterial;