Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_RendererLogicalPresentation - How the logical size is mapped to the output.

Availability

       This enum is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10             SDL_RendererLogicalPresentation(3type)

Header File

       Defined in SDL3/SDL_render.h

Name

       SDL_RendererLogicalPresentation - How the logical size is mapped to the output.

Synopsis

#include"SDL3/SDL.h"typedefenumSDL_RendererLogicalPresentation{SDL_LOGICAL_PRESENTATION_DISABLED,/**<Thereisnologicalsizeineffect*/SDL_LOGICAL_PRESENTATION_STRETCH,/**<Therenderedcontentisstretchedtotheoutputresolution*/SDL_LOGICAL_PRESENTATION_LETTERBOX,/**<Therenderedcontentisfittothelargestdimensionandtheotherdimensionisletterboxedwithblackbars*/SDL_LOGICAL_PRESENTATION_OVERSCAN,/**<Therenderedcontentisfittothesmallestdimensionandtheotherdimensionextendsbeyondtheoutputbounds*/SDL_LOGICAL_PRESENTATION_INTEGER_SCALE/**<Therenderedcontentisscaledupbyintegermultiplestofittheoutputresolution*/}SDL_RendererLogicalPresentation;

See Also