Get the properties associated with a surface.
SDL_PropertiesID SDL_GetSurfaceProperties(SDL_Surface *surface);
surface | the SDL_Surface structure to query |
Returns a valid property ID on success or 0 on failure; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.