Explorar o código

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot hai 1 mes
pai
achega
494cb8447d
Modificáronse 1 ficheiros con 6 adicións e 5 borrados
  1. 6 5
      include/SDL3/SDL_gpu.h

+ 6 - 5
include/SDL3/SDL_gpu.h

@@ -883,8 +883,8 @@ typedef enum SDL_GPUTextureFormat
 /**
  * Specifies how a texture is intended to be used by the client.
  *
- * A texture must have at least one usage flag. 
- * Note that combining SAMPLER with STORAGE_READ flags is invalid.
+ * A texture must have at least one usage flag. Note that combining SAMPLER
+ * with STORAGE_READ flags is invalid.
  *
  * With regards to compute storage usage, READ | WRITE means that you can have
  * shader A that only writes into the texture and shader B that only reads
@@ -967,9 +967,10 @@ typedef enum SDL_GPUCubeMapFace
  * Specifies how a buffer is intended to be used by the client.
  *
  * A buffer must have at least one usage flag.
- * 
- * If a buffer has multiple read usages, this may lead to a performance penalty 
- * due to more conservative memory barriers, but it also may not necessarily affect the performance.
+ *
+ * If a buffer has multiple read usages, this may lead to a performance
+ * penalty due to more conservative memory barriers, but it also may not
+ * necessarily affect the performance.
  *
  * Unlike textures, READ | WRITE can be used for simultaneous read-write
  * usage. The same data synchronization concerns as textures apply.