Sync SDL3 wiki -> header

[ci skip]
This commit is contained in:
SDL Wiki Bot
2024-12-23 05:32:13 +00:00
parent ecea3471f6
commit da37e1541b
+6
View File
@@ -1513,6 +1513,7 @@ typedef struct SDL_GPUTextureCreateInfo
* \since This struct is available since SDL 3.1.3 * \since This struct is available since SDL 3.1.3
* *
* \sa SDL_CreateGPUBuffer * \sa SDL_CreateGPUBuffer
* \sa SDL_GPUBufferUsageFlags
*/ */
typedef struct SDL_GPUBufferCreateInfo typedef struct SDL_GPUBufferCreateInfo
{ {
@@ -2296,6 +2297,11 @@ extern SDL_DECLSPEC SDL_GPUTexture *SDLCALL SDL_CreateGPUTexture(
* Note that certain combinations of usage flags are invalid. For example, a * Note that certain combinations of usage flags are invalid. For example, a
* buffer cannot have both the VERTEX and INDEX flags. * buffer cannot have both the VERTEX and INDEX flags.
* *
* For better understanding of underlying concepts and memory management with
* SDL GPU API, you may refer
* [this blog post](https://moonside.games/posts/sdl-gpu-concepts-cycling/)
* .
*
* \param device a GPU Context. * \param device a GPU Context.
* \param createinfo a struct describing the state of the buffer to create. * \param createinfo a struct describing the state of the buffer to create.
* \returns a buffer object on success, or NULL on failure; call * \returns a buffer object on success, or NULL on failure; call