change QuadCommand::generateMaterialID() to private