Gets the depth writing enable state as set by the corresponding set_write_enabled.
A DepthState struct
The current depth writing enable state