Parent relative shader includes #199
-
Hello, This reference to parentStream allowed us to obtain parent filepath and therefore to implement relative includes.
In Vortice the Include Handler api is simpler: Would you consider adding the SharpDX style Include handlers? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
What you're talking is the legacy FXC include handler (ID3DInclude), the implementation in Vortice is based on IDXCIncludeHandler. |
Beta Was this translation helpful? Give feedback.
What you're talking is the legacy FXC include handler (ID3DInclude), the implementation in Vortice is based on IDXCIncludeHandler.
So the concept/usage are different and you should look at DirectXShaderCompiler usage.