![]() You can pass the D3D_COMPILE_STANDARD_FILE_INCLUDE macro, which is a pointer to a default include handler. ![]() Setting this to NULL will cause a compile error if a shader contains a #include. A pointer to an ID3DInclude for handling include files. The last structure in the array serves as a terminator and must have all members set to NULL. Each macro definition contains a name and a null-terminated definition. If not used, set to NULL.Īn optional array of D3D_SHADER_MACRO structures that define shader macros. You can use this parameter for strings that specify error messages. const D3D_SHADER_MACRO *pDefines,Ī pointer to uncompiled shader data either ASCII HLSL code or a compiled effect. ![]() Compile HLSL code or an effect file into bytecode for a given target.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |