mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-18 17:38:22 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user