Can i use OpenGL interface during coding plugins?

It seems this guy has done exactly that .Net OpenGL Context