THREE.error('THREE.WebGLRenderer.setupVertexAttributes: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.');
return;
if(extension===null){
}
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.');
return;
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.');
return;
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;
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
extension.drawElementsInstancedANGLE(mode,index.array.length,type,0,geometry.maxInstancedCount);// Draw the instanced meshes
THREE.error('THREE.WebGLRenderer.setupVertexAttributes: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.');
return;
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
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.');
return;
THREE.error('THREE.WebGLRenderer.setupVertexAttributes: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.');
if(data.updateRange===undefined||data.updateRange.count===-1){// Not using update ranges
if(data.updateRange===undefined||data.updateRange.count===-1){// Not using update ranges
_gl.bufferSubData(bufferType,0,data.array);
_gl.bufferSubData(bufferType,0,data.array);
}elseif(data.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.');