SDL_CreateProperties - Man Page

Create a group of properties.

Header File

Defined in SDL3/SDL_properties.h

Synopsis

#include "SDL3/SDL.h"

SDL_PropertiesID SDL_CreateProperties(void);

Description

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

Return Value

( SDL_PropertiesID ) 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

·(3), SDL_DestroyProperties(3)

Referenced By

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

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS