Browse Source

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 3 months ago
parent
commit
da37e1541b
1 changed files with 6 additions and 0 deletions
  1. 6 0
      include/SDL3/SDL_gpu.h

+ 6 - 0
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