DisplayPipelineDrawMeshShaded Method (Mesh, GrasshopperDisplayMaterial) |
Namespace: Rhino.Display
The mesh is uploaded to the GPU on every redraw. Nothing is cached between frames, so every redraw re-uploads the mesh. When drawing more than one mesh, prefer a single batched DrawMeshesShaded(IEnumerableMesh, GrasshopperDisplayMaterial) call over many single-mesh calls.