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

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft