D3D_INCLUDE_TYPE Enumeration

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

Syntax

typedef enum _D3D_INCLUDE_TYPE {
  D3D_INCLUDE_LOCAL,
  D3D_INCLUDE_SYSTEM,
  D3D10_INCLUDE_LOCAL,
  D3D10_INCLUDE_SYSTEM,
  D3D_INCLUDE_FORCE_DWORD
} D3D_INCLUDE_TYPE;

Constants

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 d3dcommon.h

See Also

Common Version Enumerations

D3D_INCLUDE_TYPE

ID3DInclude::Open