|
@@ -4433,7 +4433,8 @@ extern SDL_DECLSPEC Uint32 SDLCALL SDL_CalculateGPUTextureFormatSize(
|
|
* Get the SDL pixel format corresponding to a GPU texture format.
|
|
* Get the SDL pixel format corresponding to a GPU texture format.
|
|
*
|
|
*
|
|
* \param format a texture format.
|
|
* \param format a texture format.
|
|
- * \returns the corresponding pixel format, or SDL_PIXELFORMAT_UNKNOWN if there is no corresponding pixel format.
|
|
|
|
|
|
+ * \returns the corresponding pixel format, or SDL_PIXELFORMAT_UNKNOWN if
|
|
|
|
+ * there is no corresponding pixel format.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.4.0.
|
|
* \since This function is available since SDL 3.4.0.
|
|
*/
|
|
*/
|
|
@@ -4443,7 +4444,9 @@ extern SDL_DECLSPEC SDL_PixelFormat SDLCALL SDL_GetPixelFormatFromGPUTextureForm
|
|
* Get the GPU texture format corresponding to an SDL pixel format.
|
|
* Get the GPU texture format corresponding to an SDL pixel format.
|
|
*
|
|
*
|
|
* \param format a pixel format.
|
|
* \param format a pixel format.
|
|
- * \returns the corresponding GPU texture format, or SDL_GPU_TEXTUREFORMAT_INVALID if there is no corresponding GPU texture format.
|
|
|
|
|
|
+ * \returns the corresponding GPU texture format, or
|
|
|
|
+ * SDL_GPU_TEXTUREFORMAT_INVALID if there is no corresponding GPU
|
|
|
|
+ * texture format.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.4.0.
|
|
* \since This function is available since SDL 3.4.0.
|
|
*/
|
|
*/
|