mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-28 03:26:15 +08:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -1398,12 +1398,12 @@ typedef struct SDL_GPUViewport
|
|||||||
* SDL_DownloadFromGPUTexture are used as default values respectively and data
|
* SDL_DownloadFromGPUTexture are used as default values respectively and data
|
||||||
* is considered to be tightly packed.
|
* is considered to be tightly packed.
|
||||||
*
|
*
|
||||||
* **WARNING**: On some older/integrated hardware, Direct3D 12 requires texture
|
* **WARNING**: On some older/integrated hardware, Direct3D 12 requires
|
||||||
* data row pitch to be 256 byte aligned, and offsets to be aligned to 512 bytes.
|
* texture data row pitch to be 256 byte aligned, and offsets to be aligned to
|
||||||
* If they are not, SDL will make a temporary copy of the data that is properly
|
* 512 bytes. If they are not, SDL will make a temporary copy of the data that
|
||||||
* aligned, but this adds overhead to the transfer process. Apps can avoid this
|
* is properly aligned, but this adds overhead to the transfer process. Apps
|
||||||
* by aligning their data appropriately, or using a different GPU backend than
|
* can avoid this by aligning their data appropriately, or using a different
|
||||||
* Direct3D 12.
|
* GPU backend than Direct3D 12.
|
||||||
*
|
*
|
||||||
* \since This struct is available since SDL 3.2.0.
|
* \since This struct is available since SDL 3.2.0.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user