D3D_INCLUDE_TYPE Enumeration

Values that indicate the location of a shader #include file.

Syntax

typedef enum _D3D_INCLUDE_TYPE
{
    D3D_INCLUDE_LOCAL = 0,
    D3D_INCLUDE_SYSTEM = (D3D_INCLUDE_LOCAL+1),
    D3D10_INCLUDE_LOCAL = D3D_INCLUDE_LOCAL,
    D3D10_INCLUDE_SYSTEM = D3D_INCLUDE_SYSTEM,
    D3D_INCLUDE_FORCE_DWORD = 0x7fffffff
} D3D_INCLUDE_TYPE;  

Constants

Constant Description
D3D_INCLUDE_LOCAL The local directory.
D3D_INCLUDE_SYSTEM The system directory.
D3D10_INCLUDE_LOCAL The local directory.
D3D10_INCLUDE_SYSTEM The system directory.
D3D_INCLUDE_FORCE_DWORD Forces this enumeration to compile to 32 bits in size. Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits. Do not use this value.

Remarks

You pass a D3D_INCLUDE_TYPE-typed value to the IncludeType parameter in a call to the ID3DInclude::Open method to indicate the location of the #include file.

Requirements

Header: Declared in d3d11_x.h (d3dcommon.h on other Windows platforms).