ホーム › Graphics.Direct3D11 › D3D11_SHADER_DESC
D3D11_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 |
| InputPrimitive | D3D_PRIMITIVE | 4 | +120 | +112 |
| PatchConstantParameters | DWORD | 4 | +124 | +116 |
| cGSInstanceCount | DWORD | 4 | +128 | +120 |
| cControlPoints | DWORD | 4 | +132 | +124 |
| HSOutputPrimitive | D3D_TESSELLATOR_OUTPUT_PRIMITIVE | 4 | +136 | +128 |
| HSPartitioning | D3D_TESSELLATOR_PARTITIONING | 4 | +140 | +132 |
| TessellatorDomain | D3D_TESSELLATOR_DOMAIN | 4 | +144 | +136 |
| cBarrierInstructions | DWORD | 4 | +148 | +140 |
| cInterlockedInstructions | DWORD | 4 | +152 | +144 |
| cTextureStoreInstructions | DWORD | 4 | +156 | +148 |