} // public void drawAllTrisOneDrawcall() public void undrawAllTrisOneDrawcall() { if (null == m_drawRenderMesh_triCollector) { return; } m_drawRenderMesh_triCollector.DeleteDrawMesh(m_iSequenceRenderMesh_forDebug); m_iSequenceRenderMesh_forDebug = -1; }
//@ Process delete Tri, which is going to be one base. public bool deleteInstantTriOnAB(int iIdxTri) { if (m_listTris_Instant.Count < 1) { return(false); } bool bRemovedInstantTris = m_listTris_Instant.Remove(iIdxTri); if (true == bRemovedInstantTris) { m_listTris_Instant.Sort(); if (null != m_drawRenderMesh) { m_drawRenderMesh.DeleteDrawMesh(m_iID_Instant_DrawForDEBUG + iIdxTri); DrawInstantTris(m_listTris_Instant); } return(true); } return(false); }