DDPIXELFORMAT
構造体サイズx64: 40 バイト / x86: 32 バイト
サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。
フィールド
| フィールド | 型 | サイズ | x64 | x86 |
|---|
| dwSize | DWORD | 4 | +0 | +0 |
| dwFlags | DWORD | 4 | +4 | +4 |
| dwFourCC | DWORD | 4 | +8 | +8 |
| Anonymous1 | _Anonymous1_e__Union | 4 | +12 | +12 |
| Anonymous2 | _Anonymous2_e__Union | 4 | +16 | +16 |
| Anonymous3 | _Anonymous3_e__Union | 8/4 | +24 | +20 |
| Anonymous4 | _Anonymous4_e__Union | 4 | +32 | +24 |
| Anonymous5 | _Anonymous5_e__Union | 4 | +36 | +28 |
共用体: _Anonymous1_e__Union x64 4B / x86 4B
| フィールド | 型 | サイズ | x64 | x86 |
|---|
| dwRGBBitCount | DWORD | 4 | +0 | +0 |
| dwYUVBitCount | DWORD | 4 | +0 | +0 |
| dwZBufferBitDepth | DWORD | 4 | +0 | +0 |
| dwAlphaBitDepth | DWORD | 4 | +0 | +0 |
| dwLuminanceBitCount | DWORD | 4 | +0 | +0 |
| dwBumpBitCount | DWORD | 4 | +0 | +0 |
| dwPrivateFormatBitCount | DWORD | 4 | +0 | +0 |
共用体: _Anonymous2_e__Union x64 4B / x86 4B
| フィールド | 型 | サイズ | x64 | x86 |
|---|
| dwRBitMask | DWORD | 4 | +0 | +0 |
| dwYBitMask | DWORD | 4 | +0 | +0 |
| dwStencilBitDepth | DWORD | 4 | +0 | +0 |
| dwLuminanceBitMask | DWORD | 4 | +0 | +0 |
| dwBumpDuBitMask | DWORD | 4 | +0 | +0 |
| dwOperations | DWORD | 4 | +0 | +0 |
共用体: _Anonymous3_e__Union x64 8B / x86 4B
| フィールド | 型 | サイズ | x64 | x86 |
|---|
| dwGBitMask | DWORD | 4 | +0 | +0 |
| dwUBitMask | DWORD | 4 | +0 | +0 |
| dwZBitMask | DWORD | 4 | +0 | +0 |
| dwBumpDvBitMask | DWORD | 4 | +0 | +0 |
| MultiSampleCaps | _MultiSampleCaps_e__Struct | 8/4 | +0 | +0 |
共用体: _Anonymous4_e__Union x64 4B / x86 4B
| フィールド | 型 | サイズ | x64 | x86 |
|---|
| dwBBitMask | DWORD | 4 | +0 | +0 |
| dwVBitMask | DWORD | 4 | +0 | +0 |
| dwStencilBitMask | DWORD | 4 | +0 | +0 |
| dwBumpLuminanceBitMask | DWORD | 4 | +0 | +0 |
共用体: _Anonymous5_e__Union x64 4B / x86 4B
| フィールド | 型 | サイズ | x64 | x86 |
|---|
| dwRGBAlphaBitMask | DWORD | 4 | +0 | +0 |
| dwYUVAlphaBitMask | DWORD | 4 | +0 | +0 |
| dwLuminanceAlphaBitMask | DWORD | 4 | +0 | +0 |
| dwRGBZBitMask | DWORD | 4 | +0 | +0 |
| dwYUVZBitMask | DWORD | 4 | +0 | +0 |