int SDL_UpdateYUVTexture(SDL_Texture* texture, const SDL_Rect* rect, const Uint8* Yplane, int Ypitch, const Uint8* Uplane, int Upitch, const Uint8* Vplane, int Vpitch)
| texture | 更新するテクスチャ |
| rect | テクスチャを更新する領域のSDL_Rect. NULLのときテクスチャ全体 |
| Yplane | Yプレーンの生のピクセルデータ |
| Ypitch | Yプレーンの水平方向のバイト数 |
| Uplane | Uプレーンの生のピクセルデータ |
| Upitch | Uプレーンの水平方向のバイト数 |
| Vplane | Vプレーンの生のピクセルデータ |
| Vpitch | Vプレーンの水平方向のバイト数 |
ピクセルデータのYとU/Vプレーンのブロックが連続して正しく並んでいるならば, SDL_UpdateTextureを使うことができる. しかし, この関数はピクセルデータが不連続でも使える.