mirror of https://github.com/libsdl-org/SDL.git
parent
77b520e93e
commit
5d6a780453
|
|
@ -888,6 +888,10 @@ typedef enum SDL_GPUCubeMapFace
|
|||
* Unlike textures, READ | WRITE can be used for simultaneous read-write
|
||||
* usage. The same data synchronization concerns as textures apply.
|
||||
*
|
||||
* If you use a STORAGE flag, the data in the buffer must respect std140
|
||||
* layout conventions. In practical terms this means you must ensure that vec3
|
||||
* and vec4 fields are 16-byte aligned.
|
||||
*
|
||||
* \since This datatype is available since SDL 3.2.0.
|
||||
*
|
||||
* \sa SDL_CreateGPUBuffer
|
||||
|
|
|
|||
Loading…
Reference in New Issue