Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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

Availability

       This function is available since SDL 3.2.0.

Function Parameters

props  the properties to query.

       name   the name of the property to query.

Header File

       Defined in SDL3/SDL_properties.h

Name

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

Return Value

       ( SDL_PropertyType ) Returns the type of the property, or

       SDL_PROPERTY_TYPE_INVALID
        if it is not set.

See Also

(3), SDL_HasProperty(3)

Simple Directmedia Layer                           SDL 3.2.10                             SDL_GetPropertyType(3)

Synopsis

#include"SDL3/SDL.h"SDL_PropertyTypeSDL_GetPropertyType(SDL_PropertiesIDprops,constchar*name);

Thread Safety

       It is safe to call this function from any thread.

See Also