typedef enum D3D11X_SWIZZLE
{
D3D11X_SWIZZLE_INVALID,
D3D11X_SWIZZLE_0,
D3D11X_SWIZZLE_1,
D3D11X_SWIZZLE_X,
D3D11X_SWIZZLE_Y,
D3D11X_SWIZZLE_Z,
D3D11X_SWIZZLE_W
} D3D11X_SWIZZLE;
| Constant | Description |
|---|---|
| D3D11X_SWIZZLE_INVALID | Invalid. |
| D3D11X_SWIZZLE_0 | Use constant 0.0. |
| D3D11X_SWIZZLE_1 | Use constant 1.0. |
| D3D11X_SWIZZLE_X | Use X component. |
| D3D11X_SWIZZLE_Y | Use Y component. |
| D3D11X_SWIZZLE_Z | Use Z component. |
| D3D11X_SWIZZLE_W | Use W component. |
This enumeration is a member of the D3D11X_SRV_FORMAT structure.
This enumeration is used by D3D11XGetD3d11xSwizzleFromDxgiFormat.
Header: Declared in d3d11_x.h.