gfx interface matrix and mesh