void SDL_InsertGPUDebugLabel(SDL_GPUCommandBuffer *command_buffer, const char *text);
| SDL_GPUCommandBuffer * | command_buffer | コマンドバッファ |
| const char * | text | ラベルとして挿入するUTF-8文字列 |
これはデバッグで役立つ.
Direct3D 12では, SDL_InsertGPUDebugLabelを使用するにはWinPixEventRuntime.dllをパスか実行ファイルと同じディレクトリに置く必要がある. ここに入手する方法がある.