SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
SDL::prop::Surface Namespace Reference

Properties for Surface. More...

Variables

constexpr auto SDR_WHITE_POINT_FLOAT
 Float for sdr white point.
constexpr auto HDR_HEADROOM_FLOAT
 Float for hdr headroom.
constexpr auto TONEMAP_OPERATOR_STRING
 String for tonemap operator.
constexpr auto HOTSPOT_X_NUMBER
 Number for hotspot x.
constexpr auto HOTSPOT_Y_NUMBER
 Number for hotspot y.
constexpr auto ROTATION_FLOAT
 Float for rotation.

Detailed Description

Properties for Surface.

These properties are intended to queries on surfaces, and may not be supported by all surfaces. You can use GetSurfaceProperties() to get the properties of a surface, and then query these properties with Properties.Get*() functions.

See also
GetSurfaceProperties
Surface.GetProperties

Variable Documentation

◆ HDR_HEADROOM_FLOAT

auto SDL::prop::Surface::HDR_HEADROOM_FLOAT
constexpr
Initial value:
=
SDL_PROP_SURFACE_HDR_HEADROOM_FLOAT

Float for hdr headroom.

◆ HOTSPOT_X_NUMBER

auto SDL::prop::Surface::HOTSPOT_X_NUMBER
constexpr
Initial value:
=
SDL_PROP_SURFACE_HOTSPOT_X_NUMBER

Number for hotspot x.

◆ HOTSPOT_Y_NUMBER

auto SDL::prop::Surface::HOTSPOT_Y_NUMBER
constexpr
Initial value:
=
SDL_PROP_SURFACE_HOTSPOT_Y_NUMBER

Number for hotspot y.

◆ ROTATION_FLOAT

auto SDL::prop::Surface::ROTATION_FLOAT
constexpr
Initial value:
=
SDL_PROP_SURFACE_ROTATION_FLOAT

Float for rotation.

◆ SDR_WHITE_POINT_FLOAT

auto SDL::prop::Surface::SDR_WHITE_POINT_FLOAT
constexpr
Initial value:
=
SDL_PROP_SURFACE_SDR_WHITE_POINT_FLOAT

Float for sdr white point.

◆ TONEMAP_OPERATOR_STRING

auto SDL::prop::Surface::TONEMAP_OPERATOR_STRING
constexpr
Initial value:
=
SDL_PROP_SURFACE_TONEMAP_OPERATOR_STRING

String for tonemap operator.