SDL_CameraPosition(3type)

πŸ’– SDL_CameraPosition πŸ’–

okay so bestie, welcome to the SDL_CameraPosition page from the SDL3 DATATYPES manual πŸ’… this one's a little baby page but it's iconic and we're gonna treat it with respect.


✨ NAME ✨

SDL_CameraPosition β€” the position of camera in relation to system device. πŸ“Έ

like, where is this camera pointing, essentially. front? back? who's to say. (we're about to say.)


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_camera.h>

typedef enum SDL_CameraPosition
{
    SDL_CAMERA_POSITION_UNKNOWN,
    SDL_CAMERA_POSITION_FRONT_FACING,
    SDL_CAMERA_POSITION_BACK_FACING
} SDL_CameraPosition;

no cap, that's the whole thing. three little enum values living their best lives πŸ¦‹


πŸŽ€ AVAILABILITY πŸŽ€

This enum is available since SDL 3.2.0. so if you're on something older than that... girl, upgrade. 😭


πŸ”₯ SEE ALSO πŸ”₯


and that's the vibe check, bestie β€” short page, huge main character energy, we ate and left no crumbs πŸ‘‘

this has been your girl bringing you SDL_CameraPosition(3type) from Simple Directmedia Layer, rocking SDL 3.4.18 ✨ mwah, go forth and camera-position responsibly πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from