THREE.error('THREE.WebGLRenderer.setupVertexAttributes: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.');
THREE.error('THREE.WebGLRenderer.setupVertexAttributes: using THREE.InstancedBufferAttribute but hardware does not support extension ANGLE_instanced_arrays.');
THREE.error('THREE.WebGLRenderer.setupVertexAttributes: using THREE.InstancedBufferAttribute but hardware does not support extension ANGLE_instanced_arrays.');
THREE.error('THREE.WebGLRenderer.setupVertexAttributes: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.');
return;
}
extension.drawElementsInstancedANGLE(mode,index.array.length,type,0,geometry.maxInstancedCount);// Draw the instanced meshes
}else{
_gl.drawElements(mode,index.array.length,type,0);
}
_this.info.render.calls++;
_this.info.render.vertices+=index.array.length;// not really true, here vertices can be shared
THREE.error('THREE.WebGLRenderer.setupVertexAttributes: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.');
return;
}
extension.drawElementsInstancedANGLE(mode,offsets[i].count,type,offsets[i].start*size,offsets[i].count,type,offsets[i].instances);// Draw the instanced meshes
THREE.error('THREE.WebGLRenderer.setupVertexAttributes: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.');
if(attribute.updateRange===undefined||attribute.updateRange.count===-1){// Not using update ranges
if(data.updateRange===undefined||data.updateRange.count===-1){// Not using update ranges
_gl.bufferSubData(bufferType,0,attribute.array);
_gl.bufferSubData(bufferType,0,data.array);
}elseif(attribute.updateRange.count===0){
}elseif(data.updateRange.count===0){
THREE.error('THREE.WebGLRenderer.updateObject: using updateRange for THREE.DynamicBufferAttribute and marked as needsUpdate but count is 0, ensure you are using set methods or updating manually.');