bool SDL_ConvertPixels(int width, int height, SDL_PixelFormat src_format, const void *src, int src_pitch, SDL_PixelFormat dst_format, void *dst, int dst_pitch);
| int | width | ピクセル群の幅 |
| int | height | ピクセル群の高さ |
| SDL_PixelFormat | src_format | コピー元のピクセル形式 |
| const void * | src | コピー元のピクセル群 |
| int | src_pitch | コピー元のピクセル群の水平方向のバイト数 |
| SDL_PixelFormat | dst_format | コピー先のピクセル形式 |
| void * | dst | 生成したピクセル群を書き込むポインタ |
| int | dst_pitch | コピー先のピクセル群の水平方向のバイト数 |
同じコピー先のピクセル群を2つのスレッドから同時に使用してはならない. コピー元のピクセル群は複数のスレッドから安全に使用できる.