目次
-
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_FColor
blend_constants
ブレンド定数の色
バージョン
SDL 3.2.0以降
関連項目
SDL_GPU_BLENDFACTOR_CONSTANT_COLOR
SDL_GPU_BLENDFACTOR_ONE_MINUS_CONSTANT_COLOR
SDL Wikiへのリンク
SDL_SetGPUBlendConstants - SDL Wiki