You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// D3D_COMPILE_STANDARD_FILE_INCLUDE can be passed for pInclude in any// API and indicates that a simple default include handler should be// used. The include handler will include files relative to the// current directory and files relative to the directory of the initial source// file. When used with APIs like D3DCompile pSourceName must be a// file name and the initial relative directory will be derived from it.
#defineD3D_COMPILE_STANDARD_FILE_INCLUDE ((ID3DInclude*)(UINT_PTR)1)
UINT_PTR is 32-bit/64-bit depending on target arch.
We could probably do better and associate it with (ID3DInclude*)1 and it should slot in nicely with existing D3DCompileFromFile(..., _In_opt_ ID3DInclude* pInclude, ...)
The text was updated successfully, but these errors were encountered:
Metadata currently has
Headers (d3dcompiler.h):
UINT_PTR is 32-bit/64-bit depending on target arch.
We could probably do better and associate it with
(ID3DInclude*)1
and it should slot in nicely with existingD3DCompileFromFile(..., _In_opt_ ID3DInclude* pInclude, ...)
The text was updated successfully, but these errors were encountered: