Skip to content

TSdlRendererLogicalPresentation

How the logical size is mapped to the output.

Definition

Unit: Neslib.Sdl3.Video

type TSdlRendererLogicalPresentation = (Disabled, Stretch, Letterbox, Overscan, IntegerScale)

Enumeration Values

Disabled = SDL_LOGICAL_PRESENTATION_DISABLED

There is no logical size in effect


Stretch = SDL_LOGICAL_PRESENTATION_STRETCH

The rendered content is stretched to the output resolution


Letterbox = SDL_LOGICAL_PRESENTATION_LETTERBOX

The rendered content is fit to the largest dimension and the other dimension is letterboxed with black bars


Overscan = SDL_LOGICAL_PRESENTATION_OVERSCAN

The rendered content is fit to the smallest dimension and the other dimension extends beyond the output bounds


IntegerScale = SDL_LOGICAL_PRESENTATION_INTEGER_SCALE

The rendered content is scaled up by integer multiples to fit the output resolution