Renamed RenderMode to RenderState
Removed usage of nested enum namespaces