ShaderInfo

class ShaderInfo : System.Object
System.Collections.Generic.List<TechniqueInfo> Techniques
System.Collections.Generic.Dictionary<String, SamplerStateInfo> SamplerStates
readonly string FilePath
readonly string FileContent
readonly ShaderProfile Profile
readonly string OutputFilePath
readonly bool Debug
readonly System.Collections.Generic.List<String> Dependencies
readonly System.Collections.Generic.List<String> AdditionalOutputFiles
public ShaderInfo FromFile(string path, Options options, IEffectCompilerOutput output)
Parameters:
  • path (string) –
  • options (TwoMGFX.Options) –
  • output (TwoMGFX.IEffectCompilerOutput) –
public ShaderInfo FromString(string effectSource, string filePath, Options options, IEffectCompilerOutput output)
Parameters:
  • effectSource (string) –
  • filePath (string) –
  • options (TwoMGFX.Options) –
  • output (TwoMGFX.IEffectCompilerOutput) –