is there any documentation/how to on writing G3D drivers (or state trackers) ???

not that i have the skills but just want to go through it if it exists