Direct3D,OpenGL,shader programming and a simple graphic framework