From da37e1541bc7279537df4b8157bab924a51737c5 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Mon, 23 Dec 2024 05:32:13 +0000 Subject: [PATCH] Sync SDL3 wiki -> header [ci skip] --- include/SDL3/SDL_gpu.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/SDL3/SDL_gpu.h b/include/SDL3/SDL_gpu.h index 6dabb3a30f..931f0aa784 100644 --- a/include/SDL3/SDL_gpu.h +++ b/include/SDL3/SDL_gpu.h @@ -1513,6 +1513,7 @@ typedef struct SDL_GPUTextureCreateInfo * \since This struct is available since SDL 3.1.3 * * \sa SDL_CreateGPUBuffer + * \sa SDL_GPUBufferUsageFlags */ 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 * 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 createinfo a struct describing the state of the buffer to create. * \returns a buffer object on success, or NULL on failure; call