D3D10_REQ
Resource limitation constants.
#define | Value | Description |
---|---|---|
D3D10_REQ_MIP_LEVELS | 14 | Maximum number of mipmap levels a texture resource may have. |
D3D10_REQ_RESOURCE_SIZE_IN_MEGABYTES | 128 | Maximum possible size of a resource in megabytes. Apps can create resources bigger than the maximum resource size on some graphics hardware. However, we recommend that apps keep resources smaller than the maximum resource size to get the maximum amount of compatibility across graphics vendors. The runtime only guarantees that allocations within the maximum resource size are supported by all Direct3D 10 hardware. |
D3D10_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION | 512 | Maximum array size of a 1D texture array. |
D3D10_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION | 512 | Maximum array size of a 2D texture array. |
D3D10_REQ_TEXTURE1D_U_DIMENSION | 8192 | Maximum width of a 1D texture. |
D3D10_REQ_TEXTURE2D_U_OR_V_DIMENSION | 8192 | Maximum width and height of a 2D texture. |
D3D10_REQ_TEXTURE3D_U_V_OR_W_DIMENSION | 2048 | Maximum width, height, and depth of a 3D texture. |
D3D10_REQ_TEXTURECUBE_DIMENSION | 8192 | Maximum size of a cube texture. |
The constants are defined in D3D10.h.
Related topics