public override void DrawShadow(Light a_light) { switch (m_drawingMode) { case e_MaterialDrawingMode.Triangles: { GraphicsCommand.DrawTriangles(m_indices); break; } default: { GraphicsCommand.Draw(m_indices); break; } } }
public override void Draw(Camera a_camera) { switch (m_drawingMode) { case e_MaterialDrawingMode.Triangles: { GraphicsCommand.DrawTriangles(m_indices); break; } default: { GraphicsCommand.Draw(m_indices); break; } } }