natiny_camera_unbind

C
void natiny_camera_unbind(void);

Ends the camera bind: drawing goes back to the target's default 2D projection. The same thing as natiny_camera_bind(0).

Example

C
natiny_camera_unbind();

Notes

  • This is equivalent to natiny_camera_bind(0); it does not restore the previously bound camera.
  • Unbinding a surface restores the camera matrices saved for the suspended target; see The bind stack.