ホーム › Graphics.Direct3D10 › D3D10_SHADER_DESC
D3D10_SHADER_DESC
構造体サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。
フィールド
| フィールド | 型 | サイズ | x64 | x86 |
|---|---|---|---|---|
| Version | DWORD | 4 | +0 | +0 |
| Creator | LPSTR | 8/4 | +8 | +4 |
| Flags | DWORD | 4 | +16 | +8 |
| ConstantBuffers | DWORD | 4 | +20 | +12 |
| BoundResources | DWORD | 4 | +24 | +16 |
| InputParameters | DWORD | 4 | +28 | +20 |
| OutputParameters | DWORD | 4 | +32 | +24 |
| InstructionCount | DWORD | 4 | +36 | +28 |
| TempRegisterCount | DWORD | 4 | +40 | +32 |
| TempArrayCount | DWORD | 4 | +44 | +36 |
| DefCount | DWORD | 4 | +48 | +40 |
| DclCount | DWORD | 4 | +52 | +44 |
| TextureNormalInstructions | DWORD | 4 | +56 | +48 |
| TextureLoadInstructions | DWORD | 4 | +60 | +52 |
| TextureCompInstructions | DWORD | 4 | +64 | +56 |
| TextureBiasInstructions | DWORD | 4 | +68 | +60 |
| TextureGradientInstructions | DWORD | 4 | +72 | +64 |
| FloatInstructionCount | DWORD | 4 | +76 | +68 |
| IntInstructionCount | DWORD | 4 | +80 | +72 |
| UintInstructionCount | DWORD | 4 | +84 | +76 |
| StaticFlowControlCount | DWORD | 4 | +88 | +80 |
| DynamicFlowControlCount | DWORD | 4 | +92 | +84 |
| MacroInstructionCount | DWORD | 4 | +96 | +88 |
| ArrayInstructionCount | DWORD | 4 | +100 | +92 |
| CutInstructionCount | DWORD | 4 | +104 | +96 |
| EmitInstructionCount | DWORD | 4 | +108 | +100 |
| GSOutputTopology | D3D_PRIMITIVE_TOPOLOGY | 4 | +112 | +104 |
| GSMaxOutputVertexCount | DWORD | 4 | +116 | +108 |