目次 - SDL 3.0 API(機能別) - 3DレンダリングとGPUコンピューティング - SDL_ReleaseGPUComputePipeline

SDL_ReleaseGPUComputePipeline

指定のコンピュートパイプラインを安全に行えるようになれば可能な限り早く解放する

ヘッダ

SDL3/SDL_gpu.h

構文

void SDL_ReleaseGPUComputePipeline(SDL_GPUDevice *device, SDL_GPUComputePipeline *compute_pipeline);

引数

SDL_GPUDevice *deviceGPUコンテキスト
SDL_GPUComputePipeline *compute_pipeline破棄するコンピュートパイプライン

詳細

この関数を呼んだ後にコンピュートパイプラインを参照してはならない.

バージョン

SDL 3.2.0以降

SDL Wikiへのリンク

SDL_ReleaseGPUComputePipeline - SDL Wiki