How to use openGL direcly whitout a dll file or draw to frame buffer?

I have to use unity for a group projcet (not my decision).
I have to convert my low level c GUI library inside unity.
How to use openGL direcly whiout a dll file or draw to frame buffer ?