How does brush wireframe view get vertex data?

Does anyone know how the brush wireframe view in the editor gets access to the vertices of a mesh like the image below?

Reason being is I also want to get access to the vertex data.

Is there a pointer I can get access to on the GPU memory that has this data?

Mesh Lit

Editor Brush Wireframe