Results 1 to 2 of 2

Thread: how to use idirect3dxinclude ?

  1. #1

    how to use idirect3dxinclude ?

    hi,

    i am currently have the problem of compiling much shader code, so i wanted to use some kind of include mechanism to speed up compiling time ... first i thought, file include could make it, but it even slows it more down, then i found the idirect3dxinclude interface from the effect functions,
    but did not found any documentation about how to create such interface nor how to use it ..

  2. #2

    how to use idirect3dxinclude ?

    From doc:
    The ID3DXInclude interface is implemented by an application to provide callbacks for #include directives, which are in an effect created by the D3DXCreateEffectxxx functions.
    So it's implemented by YOU!

    Also this interface will not help with your problem - speeding up shader compilation - as it's purpose is to allow #include statements in shaders compiled from system memory data (not from file).
    There are only 10 types of people in this world; those who understand binary and those who don't.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •