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

SDL_SetGPUBlendConstants

コマンドバッファの現在のブレンド定数を設定する

ヘッダ

SDL3/SDL_gpu.h

構文

void SDL_SetGPUBlendConstants(SDL_GPURenderPass *render_pass, SDL_FColor blend_constants);

引数

SDL_GPURenderPass *render_passレンダーパスハンドル
SDL_FColorblend_constantsブレンド定数の色

バージョン

SDL 3.2.0以降

関連項目

SDL Wikiへのリンク

SDL_SetGPUBlendConstants - SDL Wiki