You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* - `SDL_PROP_TEXTURE_CREATE_HEIGHT_NUMBER`: the height of the texture in
662
662
* pixels, required
663
+
* - `SDL_PROP_TEXTURE_CREATE_PALETTE_POINTER`: an SDL_Palette to use with palettized texture formats. This can be set later with SDL_SetTexturePalette()
663
664
* - `SDL_PROP_TEXTURE_CREATE_SDR_WHITE_POINT_FLOAT`: for HDR10 and floating
664
665
* point textures, this defines the value of 100% diffuse white, with higher
665
666
* values being displayed in the High Dynamic Range headroom. This defaults
* The default texture scale mode is SDL_SCALEMODE_LINEAR.
1159
1197
*
1160
-
* If the scale mode is not supported, the closest supported mode is chosen.
1198
+
* If the scale mode is not supported, the closest supported mode is chosen. Palettized textures will use SDL_SCALEMODE_PIXELART instead of SDL_SCALEMODE_LINEAR.
1161
1199
*
1162
1200
* \param texture the texture to update.
1163
1201
* \param scaleMode the SDL_ScaleMode to use for texture scaling.
0 commit comments