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

SDL_GPUGraphicsPipelineTargetInfo

グラフィックパイプラインで使用するレンダーターゲットの情報の構造体

ヘッダ

SDL3/SDL_gpu.h

フィールド

const SDL_GPUColorTargetDescription *color_target_descriptions対象カラーターゲット情報の配列へのポインタ
Uint32num_color_targets対象カラーターゲット情報の配列の要素数
SDL_GPUTextureFormatdepth_stencil_format深度ステンシルターゲットのピクセル形式. has_depth_stencil_targetが偽のときは無視される
boolhas_depth_stencil_target真のときパイプラインは深度ステンシルターゲットを使用する
Uint8padding1
Uint8padding2
Uint8padding3

バージョン

SDL 3.2.0以降

関連項目

SDL Wikiへのリンク

SDL_GPUGraphicsPipelineTargetInfo - SDL Wiki