|
|
@@ -1,6 +1,6 @@
|
|
|
/*
|
|
|
Simple DirectMedia Layer
|
|
|
- Copyright (C) 1997-2024 Sam Lantinga <[email protected]>
|
|
|
+ Copyright (C) 1997-2025 Sam Lantinga <[email protected]>
|
|
|
|
|
|
This software is provided 'as-is', without any express or implied
|
|
|
warranty. In no event will the authors be held liable for any damages
|
|
|
@@ -69,14 +69,14 @@ extern "C" {
|
|
|
/**
|
|
|
* The name of the software renderer.
|
|
|
*
|
|
|
- * \since This macro is available since SDL 3.1.3.
|
|
|
+ * \since This macro is available since SDL 3.2.0.
|
|
|
*/
|
|
|
#define SDL_SOFTWARE_RENDERER "software"
|
|
|
|
|
|
/**
|
|
|
* Vertex structure.
|
|
|
*
|
|
|
- * \since This struct is available since SDL 3.1.3.
|
|
|
+ * \since This struct is available since SDL 3.2.0.
|
|
|
*/
|
|
|
typedef struct SDL_Vertex
|
|
|
{
|
|
|
@@ -88,7 +88,7 @@ typedef struct SDL_Vertex
|
|
|
/**
|
|
|
* The access pattern allowed for a texture.
|
|
|
*
|
|
|
- * \since This enum is available since SDL 3.1.3.
|
|
|
+ * \since This enum is available since SDL 3.2.0.
|
|
|
*/
|
|
|
typedef enum SDL_TextureAccess
|
|
|
{
|
|
|
@@ -100,7 +100,7 @@ typedef enum SDL_TextureAccess
|
|
|
/**
|
|
|
* How the logical size is mapped to the output.
|
|
|
*
|
|
|
- * \since This enum is available since SDL 3.1.3.
|
|
|
+ * \since This enum is available since SDL 3.2.0.
|
|
|
*/
|
|
|
typedef enum SDL_RendererLogicalPresentation
|
|
|
{
|
|
|
@@ -114,7 +114,7 @@ typedef enum SDL_RendererLogicalPresentation
|
|
|
/**
|
|
|
* A structure representing rendering state
|
|
|
*
|
|
|
- * \since This struct is available since SDL 3.1.3.
|
|
|
+ * \since This struct is available since SDL 3.2.0.
|
|
|
*/
|
|
|
typedef struct SDL_Renderer SDL_Renderer;
|
|
|
|
|
|
@@ -123,7 +123,7 @@ typedef struct SDL_Renderer SDL_Renderer;
|
|
|
/**
|
|
|
* An efficient driver-specific representation of pixel data
|
|
|
*
|
|
|
- * \since This struct is available since SDL 3.1.3.
|
|
|
+ * \since This struct is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_CreateTexture
|
|
|
* \sa SDL_CreateTextureFromSurface
|
|
|
@@ -157,7 +157,7 @@ typedef struct SDL_Texture SDL_Texture;
|
|
|
*
|
|
|
* \threadsafety It is safe to call this function from any thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_CreateRenderer
|
|
|
* \sa SDL_GetRenderDriver
|
|
|
@@ -182,7 +182,7 @@ extern SDL_DECLSPEC int SDLCALL SDL_GetNumRenderDrivers(void);
|
|
|
*
|
|
|
* \threadsafety It is safe to call this function from any thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetNumRenderDrivers
|
|
|
*/
|
|
|
@@ -203,7 +203,7 @@ extern SDL_DECLSPEC const char * SDLCALL SDL_GetRenderDriver(int index);
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_CreateRenderer
|
|
|
* \sa SDL_CreateWindow
|
|
|
@@ -219,6 +219,9 @@ extern SDL_DECLSPEC bool SDLCALL SDL_CreateWindowAndRenderer(const char *title,
|
|
|
* don't need a specific renderer, specify NULL and SDL will attempt to choose
|
|
|
* the best option for you, based on what is available on the user's system.
|
|
|
*
|
|
|
+ * If `name` is a comma-separated list, SDL will try each name, in the order
|
|
|
+ * listed, until one succeeds or all of them fail.
|
|
|
+ *
|
|
|
* By default the rendering size matches the window size in pixels, but you
|
|
|
* can call SDL_SetRenderLogicalPresentation() to change the content size and
|
|
|
* scaling options.
|
|
|
@@ -231,7 +234,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_CreateWindowAndRenderer(const char *title,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_CreateRendererWithProperties
|
|
|
* \sa SDL_CreateSoftwareRenderer
|
|
|
@@ -285,7 +288,7 @@ extern SDL_DECLSPEC SDL_Renderer * SDLCALL SDL_CreateRenderer(SDL_Window *window
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_CreateProperties
|
|
|
* \sa SDL_CreateRenderer
|
|
|
@@ -322,7 +325,7 @@ extern SDL_DECLSPEC SDL_Renderer * SDLCALL SDL_CreateRendererWithProperties(SDL_
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_DestroyRenderer
|
|
|
*/
|
|
|
@@ -337,7 +340,7 @@ extern SDL_DECLSPEC SDL_Renderer * SDLCALL SDL_CreateSoftwareRenderer(SDL_Surfac
|
|
|
*
|
|
|
* \threadsafety It is safe to call this function from any thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*/
|
|
|
extern SDL_DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window *window);
|
|
|
|
|
|
@@ -350,7 +353,7 @@ extern SDL_DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window *window);
|
|
|
*
|
|
|
* \threadsafety It is safe to call this function from any thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*/
|
|
|
extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_GetRenderWindow(SDL_Renderer *renderer);
|
|
|
|
|
|
@@ -363,7 +366,7 @@ extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_GetRenderWindow(SDL_Renderer *rende
|
|
|
*
|
|
|
* \threadsafety It is safe to call this function from any thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_CreateRenderer
|
|
|
* \sa SDL_CreateRendererWithProperties
|
|
|
@@ -452,7 +455,7 @@ extern SDL_DECLSPEC const char * SDLCALL SDL_GetRendererName(SDL_Renderer *rende
|
|
|
*
|
|
|
* \threadsafety It is safe to call this function from any thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*/
|
|
|
extern SDL_DECLSPEC SDL_PropertiesID SDLCALL SDL_GetRendererProperties(SDL_Renderer *renderer);
|
|
|
|
|
|
@@ -495,7 +498,7 @@ extern SDL_DECLSPEC SDL_PropertiesID SDLCALL SDL_GetRendererProperties(SDL_Rende
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetCurrentRenderOutputSize
|
|
|
*/
|
|
|
@@ -517,7 +520,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderOutputSize(SDL_Renderer *renderer,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderOutputSize
|
|
|
*/
|
|
|
@@ -533,13 +536,12 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetCurrentRenderOutputSize(SDL_Renderer *re
|
|
|
* \param access one of the enumerated values in SDL_TextureAccess.
|
|
|
* \param w the width of the texture in pixels.
|
|
|
* \param h the height of the texture in pixels.
|
|
|
- * \returns a pointer to the created texture or NULL if no rendering context
|
|
|
- * was active, the format was unsupported, or the width or height
|
|
|
- * were out of range; call SDL_GetError() for more information.
|
|
|
+ * \returns the created texture or NULL on failure; call SDL_GetError() for
|
|
|
+ * more information.
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_CreateTextureFromSurface
|
|
|
* \sa SDL_CreateTextureWithProperties
|
|
|
@@ -569,7 +571,7 @@ extern SDL_DECLSPEC SDL_Texture * SDLCALL SDL_CreateTexture(SDL_Renderer *render
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_CreateTexture
|
|
|
* \sa SDL_CreateTextureWithProperties
|
|
|
@@ -673,13 +675,12 @@ extern SDL_DECLSPEC SDL_Texture * SDLCALL SDL_CreateTextureFromSurface(SDL_Rende
|
|
|
*
|
|
|
* \param renderer the rendering context.
|
|
|
* \param props the properties to use.
|
|
|
- * \returns a pointer to the created texture or NULL if no rendering context
|
|
|
- * was active, the format was unsupported, or the width or height
|
|
|
- * were out of range; call SDL_GetError() for more information.
|
|
|
+ * \returns the created texture or NULL on failure; call SDL_GetError() for
|
|
|
+ * more information.
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_CreateProperties
|
|
|
* \sa SDL_CreateTexture
|
|
|
@@ -798,7 +799,7 @@ extern SDL_DECLSPEC SDL_Texture * SDLCALL SDL_CreateTextureWithProperties(SDL_Re
|
|
|
*
|
|
|
* \threadsafety It is safe to call this function from any thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*/
|
|
|
extern SDL_DECLSPEC SDL_PropertiesID SDLCALL SDL_GetTextureProperties(SDL_Texture *texture);
|
|
|
|
|
|
@@ -838,7 +839,7 @@ extern SDL_DECLSPEC SDL_PropertiesID SDLCALL SDL_GetTextureProperties(SDL_Textur
|
|
|
*
|
|
|
* \threadsafety It is safe to call this function from any thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*/
|
|
|
extern SDL_DECLSPEC SDL_Renderer * SDLCALL SDL_GetRendererFromTexture(SDL_Texture *texture);
|
|
|
|
|
|
@@ -855,7 +856,7 @@ extern SDL_DECLSPEC SDL_Renderer * SDLCALL SDL_GetRendererFromTexture(SDL_Textur
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*/
|
|
|
extern SDL_DECLSPEC bool SDLCALL SDL_GetTextureSize(SDL_Texture *texture, float *w, float *h);
|
|
|
|
|
|
@@ -880,7 +881,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetTextureSize(SDL_Texture *texture, float
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetTextureColorMod
|
|
|
* \sa SDL_SetTextureAlphaMod
|
|
|
@@ -910,7 +911,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetTextureColorMod(SDL_Texture *texture, Ui
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetTextureColorModFloat
|
|
|
* \sa SDL_SetTextureAlphaModFloat
|
|
|
@@ -931,7 +932,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetTextureColorModFloat(SDL_Texture *textur
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetTextureAlphaMod
|
|
|
* \sa SDL_GetTextureColorModFloat
|
|
|
@@ -951,7 +952,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetTextureColorMod(SDL_Texture *texture, Ui
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetTextureAlphaModFloat
|
|
|
* \sa SDL_GetTextureColorMod
|
|
|
@@ -977,7 +978,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetTextureColorModFloat(SDL_Texture *textur
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetTextureAlphaMod
|
|
|
* \sa SDL_SetTextureAlphaModFloat
|
|
|
@@ -1003,7 +1004,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetTextureAlphaMod(SDL_Texture *texture, Ui
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetTextureAlphaModFloat
|
|
|
* \sa SDL_SetTextureAlphaMod
|
|
|
@@ -1021,7 +1022,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetTextureAlphaModFloat(SDL_Texture *textur
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetTextureAlphaModFloat
|
|
|
* \sa SDL_GetTextureColorMod
|
|
|
@@ -1039,7 +1040,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetTextureAlphaMod(SDL_Texture *texture, Ui
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetTextureAlphaMod
|
|
|
* \sa SDL_GetTextureColorModFloat
|
|
|
@@ -1060,7 +1061,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetTextureAlphaModFloat(SDL_Texture *textur
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetTextureBlendMode
|
|
|
*/
|
|
|
@@ -1076,7 +1077,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetTextureBlendMode(SDL_Texture *texture, S
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_SetTextureBlendMode
|
|
|
*/
|
|
|
@@ -1096,7 +1097,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetTextureBlendMode(SDL_Texture *texture, S
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetTextureScaleMode
|
|
|
*/
|
|
|
@@ -1112,7 +1113,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetTextureScaleMode(SDL_Texture *texture, S
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_SetTextureScaleMode
|
|
|
*/
|
|
|
@@ -1143,7 +1144,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetTextureScaleMode(SDL_Texture *texture, S
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_LockTexture
|
|
|
* \sa SDL_UnlockTexture
|
|
|
@@ -1177,7 +1178,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_UpdateTexture(SDL_Texture *texture, const S
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_UpdateNVTexture
|
|
|
* \sa SDL_UpdateTexture
|
|
|
@@ -1209,7 +1210,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_UpdateYUVTexture(SDL_Texture *texture,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_UpdateTexture
|
|
|
* \sa SDL_UpdateYUVTexture
|
|
|
@@ -1244,7 +1245,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_UpdateNVTexture(SDL_Texture *texture,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_LockTextureToSurface
|
|
|
* \sa SDL_UnlockTexture
|
|
|
@@ -1275,14 +1276,14 @@ extern SDL_DECLSPEC bool SDLCALL SDL_LockTexture(SDL_Texture *texture,
|
|
|
* `SDL_TEXTUREACCESS_STREAMING`.
|
|
|
* \param rect a pointer to the rectangle to lock for access. If the rect is
|
|
|
* NULL, the entire texture will be locked.
|
|
|
- * \param surface this is filled in with an SDL surface representing the
|
|
|
- * locked area.
|
|
|
+ * \param surface a pointer to an SDL surface of size **rect**. Don't assume
|
|
|
+ * any specific pixel content.
|
|
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
|
|
* information.
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_LockTexture
|
|
|
* \sa SDL_UnlockTexture
|
|
|
@@ -1304,7 +1305,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_LockTextureToSurface(SDL_Texture *texture,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_LockTexture
|
|
|
*/
|
|
|
@@ -1326,7 +1327,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_UnlockTexture(SDL_Texture *texture);
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderTarget
|
|
|
*/
|
|
|
@@ -1343,7 +1344,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetRenderTarget(SDL_Renderer *renderer, SDL
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_SetRenderTarget
|
|
|
*/
|
|
|
@@ -1382,7 +1383,7 @@ extern SDL_DECLSPEC SDL_Texture * SDLCALL SDL_GetRenderTarget(SDL_Renderer *rend
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_ConvertEventToRenderCoordinates
|
|
|
* \sa SDL_GetRenderLogicalPresentation
|
|
|
@@ -1405,7 +1406,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetRenderLogicalPresentation(SDL_Renderer *
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_SetRenderLogicalPresentation
|
|
|
*/
|
|
|
@@ -1427,7 +1428,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderLogicalPresentation(SDL_Renderer *
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_SetRenderLogicalPresentation
|
|
|
*/
|
|
|
@@ -1453,7 +1454,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderLogicalPresentationRect(SDL_Render
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_SetRenderLogicalPresentation
|
|
|
* \sa SDL_SetRenderScale
|
|
|
@@ -1482,7 +1483,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderCoordinatesFromWindow(SDL_Renderer *r
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_SetRenderLogicalPresentation
|
|
|
* \sa SDL_SetRenderScale
|
|
|
@@ -1500,10 +1501,18 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderCoordinatesToWindow(SDL_Renderer *ren
|
|
|
* - The scale (SDL_SetRenderScale)
|
|
|
* - The viewport (SDL_SetRenderViewport)
|
|
|
*
|
|
|
+ * Various event types are converted with this function: mouse, touch, pen,
|
|
|
+ * etc.
|
|
|
+ *
|
|
|
* Touch coordinates are converted from normalized coordinates in the window
|
|
|
* to non-normalized rendering coordinates.
|
|
|
*
|
|
|
- * Once converted, the coordinates may be outside the rendering area.
|
|
|
+ * Relative mouse coordinates (xrel and yrel event fields) are _also_
|
|
|
+ * converted. Applications that do not want these fields converted should use
|
|
|
+ * SDL_RenderCoordinatesFromWindow() on the specific event fields instead of
|
|
|
+ * converting the entire event structure.
|
|
|
+ *
|
|
|
+ * Once converted, coordinates may be outside the rendering area.
|
|
|
*
|
|
|
* \param renderer the rendering context.
|
|
|
* \param event the event to modify.
|
|
|
@@ -1512,7 +1521,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderCoordinatesToWindow(SDL_Renderer *ren
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderCoordinatesFromWindow
|
|
|
*/
|
|
|
@@ -1535,7 +1544,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ConvertEventToRenderCoordinates(SDL_Rendere
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderViewport
|
|
|
* \sa SDL_RenderViewportSet
|
|
|
@@ -1552,7 +1561,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetRenderViewport(SDL_Renderer *renderer, c
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderViewportSet
|
|
|
* \sa SDL_SetRenderViewport
|
|
|
@@ -1572,7 +1581,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderViewport(SDL_Renderer *renderer, S
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderViewport
|
|
|
* \sa SDL_SetRenderViewport
|
|
|
@@ -1597,7 +1606,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderViewportSet(SDL_Renderer *renderer);
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*/
|
|
|
extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderSafeArea(SDL_Renderer *renderer, SDL_Rect *rect);
|
|
|
|
|
|
@@ -1612,7 +1621,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderSafeArea(SDL_Renderer *renderer, S
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderClipRect
|
|
|
* \sa SDL_RenderClipEnabled
|
|
|
@@ -1630,7 +1639,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetRenderClipRect(SDL_Renderer *renderer, c
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderClipEnabled
|
|
|
* \sa SDL_SetRenderClipRect
|
|
|
@@ -1646,7 +1655,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderClipRect(SDL_Renderer *renderer, S
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderClipRect
|
|
|
* \sa SDL_SetRenderClipRect
|
|
|
@@ -1672,7 +1681,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderClipEnabled(SDL_Renderer *renderer);
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderScale
|
|
|
*/
|
|
|
@@ -1689,7 +1698,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetRenderScale(SDL_Renderer *renderer, floa
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_SetRenderScale
|
|
|
*/
|
|
|
@@ -1713,7 +1722,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderScale(SDL_Renderer *renderer, floa
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderDrawColor
|
|
|
* \sa SDL_SetRenderDrawColorFloat
|
|
|
@@ -1738,7 +1747,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetRenderDrawColor(SDL_Renderer *renderer,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderDrawColorFloat
|
|
|
* \sa SDL_SetRenderDrawColor
|
|
|
@@ -1762,7 +1771,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetRenderDrawColorFloat(SDL_Renderer *rende
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderDrawColorFloat
|
|
|
* \sa SDL_SetRenderDrawColor
|
|
|
@@ -1786,7 +1795,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderDrawColor(SDL_Renderer *renderer,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_SetRenderDrawColorFloat
|
|
|
* \sa SDL_GetRenderDrawColor
|
|
|
@@ -1811,7 +1820,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderDrawColorFloat(SDL_Renderer *rende
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderColorScale
|
|
|
*/
|
|
|
@@ -1827,7 +1836,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetRenderColorScale(SDL_Renderer *renderer,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_SetRenderColorScale
|
|
|
*/
|
|
|
@@ -1845,7 +1854,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderColorScale(SDL_Renderer *renderer,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderDrawBlendMode
|
|
|
*/
|
|
|
@@ -1861,7 +1870,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetRenderDrawBlendMode(SDL_Renderer *render
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_SetRenderDrawBlendMode
|
|
|
*/
|
|
|
@@ -1881,7 +1890,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderDrawBlendMode(SDL_Renderer *render
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_SetRenderDrawColor
|
|
|
*/
|
|
|
@@ -1898,7 +1907,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderClear(SDL_Renderer *renderer);
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderPoints
|
|
|
*/
|
|
|
@@ -1915,7 +1924,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderPoint(SDL_Renderer *renderer, float x
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderPoint
|
|
|
*/
|
|
|
@@ -1934,7 +1943,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderPoints(SDL_Renderer *renderer, const
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderLines
|
|
|
*/
|
|
|
@@ -1952,7 +1961,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderLine(SDL_Renderer *renderer, float x1
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderLine
|
|
|
*/
|
|
|
@@ -1969,7 +1978,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderLines(SDL_Renderer *renderer, const S
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderRects
|
|
|
*/
|
|
|
@@ -1987,7 +1996,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderRect(SDL_Renderer *renderer, const SD
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderRect
|
|
|
*/
|
|
|
@@ -2005,7 +2014,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderRects(SDL_Renderer *renderer, const S
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderFillRects
|
|
|
*/
|
|
|
@@ -2023,7 +2032,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderFillRect(SDL_Renderer *renderer, cons
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderFillRect
|
|
|
*/
|
|
|
@@ -2044,7 +2053,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderFillRects(SDL_Renderer *renderer, con
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderTextureRotated
|
|
|
* \sa SDL_RenderTextureTiled
|
|
|
@@ -2073,7 +2082,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderTexture(SDL_Renderer *renderer, SDL_T
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderTexture
|
|
|
*/
|
|
|
@@ -2133,7 +2142,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderTextureAffine(SDL_Renderer *renderer,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderTexture
|
|
|
*/
|
|
|
@@ -2167,7 +2176,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderTextureTiled(SDL_Renderer *renderer,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderTexture
|
|
|
*/
|
|
|
@@ -2191,7 +2200,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderTexture9Grid(SDL_Renderer *renderer,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderGeometryRaw
|
|
|
*/
|
|
|
@@ -2223,7 +2232,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderGeometry(SDL_Renderer *renderer,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderGeometry
|
|
|
*/
|
|
|
@@ -2252,7 +2261,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderGeometryRaw(SDL_Renderer *renderer,
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*/
|
|
|
extern SDL_DECLSPEC SDL_Surface * SDLCALL SDL_RenderReadPixels(SDL_Renderer *renderer, const SDL_Rect *rect);
|
|
|
|
|
|
@@ -2289,7 +2298,7 @@ extern SDL_DECLSPEC SDL_Surface * SDLCALL SDL_RenderReadPixels(SDL_Renderer *ren
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_CreateRenderer
|
|
|
* \sa SDL_RenderClear
|
|
|
@@ -2316,7 +2325,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderPresent(SDL_Renderer *renderer);
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_CreateTexture
|
|
|
* \sa SDL_CreateTextureFromSurface
|
|
|
@@ -2333,7 +2342,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_DestroyTexture(SDL_Texture *texture);
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_CreateRenderer
|
|
|
*/
|
|
|
@@ -2368,7 +2377,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_DestroyRenderer(SDL_Renderer *renderer);
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*/
|
|
|
extern SDL_DECLSPEC bool SDLCALL SDL_FlushRenderer(SDL_Renderer *renderer);
|
|
|
|
|
|
@@ -2384,7 +2393,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_FlushRenderer(SDL_Renderer *renderer);
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderMetalCommandEncoder
|
|
|
*/
|
|
|
@@ -2407,7 +2416,7 @@ extern SDL_DECLSPEC void * SDLCALL SDL_GetRenderMetalLayer(SDL_Renderer *rendere
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderMetalLayer
|
|
|
*/
|
|
|
@@ -2440,7 +2449,7 @@ extern SDL_DECLSPEC void * SDLCALL SDL_GetRenderMetalCommandEncoder(SDL_Renderer
|
|
|
* \threadsafety It is **NOT** safe to call this function from two threads at
|
|
|
* once.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*/
|
|
|
extern SDL_DECLSPEC bool SDLCALL SDL_AddVulkanRenderSemaphores(SDL_Renderer *renderer, Uint32 wait_stage_mask, Sint64 wait_semaphore, Sint64 signal_semaphore);
|
|
|
|
|
|
@@ -2463,7 +2472,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_AddVulkanRenderSemaphores(SDL_Renderer *ren
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_GetRenderVSync
|
|
|
*/
|
|
|
@@ -2483,7 +2492,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetRenderVSync(SDL_Renderer *renderer, int
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.3.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_SetRenderVSync
|
|
|
*/
|
|
|
@@ -2534,7 +2543,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderVSync(SDL_Renderer *renderer, int
|
|
|
*
|
|
|
* \threadsafety This function should only be called on the main thread.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.1.6.
|
|
|
+ * \since This function is available since SDL 3.2.0.
|
|
|
*
|
|
|
* \sa SDL_RenderDebugTextFormat
|
|
|
* \sa SDL_DEBUG_TEXT_FONT_CHARACTER_SIZE
|