SDL_CreateProperties - Man Page

Create a group of properties.

Synopsis

#include <SDL3/SDL_properties.h>

SDL_PropertiesID SDL_CreateProperties(void);

Description

All properties are automatically destroyed when SDL_Quit() is called.

Return Value

Returns an ID for a new group of properties, or 0 on failure; call SDL_GetError() for more information.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL 3.2.0.

See Also

SDL_DestroyProperties(3)

Referenced By

SDL_CreateRendererWithProperties(3), SDL_CreateTextureWithProperties(3), SDL_CreateWindowWithProperties(3), SDL_DestroyProperties(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS