Scroll to navigation

SDL_GetPropertyType(3) SDL3 FUNCTIONS SDL_GetPropertyType(3)

NAME

SDL_GetPropertyType - Get the type of a property in a group of properties.

SYNOPSIS

#include <SDL3/SDL_properties.h>
SDL_PropertyType SDL_GetPropertyType(SDL_PropertiesID props, const char *name);

FUNCTION PARAMETERS

the properties to query.
the name of the property to query.

RETURN VALUE

Returns the type of the property, or SDL_PROPERTY_TYPE_INVALID if it is not set.

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_HasProperty(3)

SDL 3.2.14 Simple Directmedia Layer