You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: isosurface_material.rs
    path of file: ./repos/three-d/src/renderer/material
    
    the code of the file until where you have to start completion: use crate::core::*;
use crate::renderer::*;

///
/// A material that renders the isosurface defined by the voxel data in the [IsosurfaceMaterial::voxels] and the [IsosurfaceMaterial::threshold].
/// The surface is defined by all the points in
    
    fn from_cpu_voxel_grid(context: &Context, cpu_voxel_grid: &CpuVoxelGrid) -> Self {
        Self {
            voxels: std::sync::Arc::new(Texture3D::new(context, &cpu_voxel_grid.voxels)),
            lighting_model: LightingModel::Blinn,
            size: cpu_voxel_grid.size,
            threshold: 0.15,
            color: Srgba::WHITE,
            roughness: 1.0,
            metallic: 0.0,
        }
    }