add DrawGraphic
fix vertex class
primitive gray