how do i disable a mesh

so I’m trying to use chunks to disable meshes to decrease fps lag, so i decided i should either somehow disable the mesh to make it invisible or i should use something to block its sight but i don’t know how to disable a mesh inside of a script is it possible or not if its possible please tell me how.

Probably you use MeshCollider?

            GameObject go; //This is Your GameObject with meshCollider
            go.GetComponent<MeshCollider>().enabled = false;

ok that would make sense but if i think of it a mesh collider adds collision based on the mesh shape so if i had a capsule but i changed the mesh shape to a cube it would still have the same collisions untill i use a mesh collider?