目次 - SDL 3.0 API(機能別) - 3DレンダリングとGPUコンピューティング - SDL_GPUViewport
SDL_GPUViewport
ビューポートを表す構造体
ヘッダ
SDL3/SDL_gpu.h
フィールド
| float | x | ビューポートの左オフセット |
| float | y | ビューポートの右オフセット |
| float | w | ビューポートの幅 |
| float | h | ビューポートの高さ |
| float | min_depth | ビューポートの深度の最小値 |
| float | max_depth | ビューポートの深度の最大値 |
バージョン
SDL 3.2.0以降
関連項目
SDL Wikiへのリンク
SDL_GPUViewport - SDL Wiki