Table of Contents

Class ShaderResult

Namespace
MonoGame.Effect
Assembly
MonoGame.Framework.Content.Pipeline.dll
public class ShaderResult
Inheritance
ShaderResult
Inherited Members

Properties

AdditionalOutputFiles

public List<string> AdditionalOutputFiles { get; }

Property Value

List<string>

Debug

public bool Debug { get; }

Property Value

bool

Dependencies

public List<string> Dependencies { get; }

Property Value

List<string>

FileContent

public string FileContent { get; }

Property Value

string

FilePath

public string FilePath { get; }

Property Value

string

OutputFilePath

public string OutputFilePath { get; }

Property Value

string

Profile

public ShaderProfile Profile { get; }

Property Value

ShaderProfile

RelativeFilePath

public string RelativeFilePath { get; set; }

Property Value

string

ShaderInfo

public ShaderInfo ShaderInfo { get; }

Property Value

ShaderInfo

Methods

FromFile(string, Options, IEffectCompilerOutput)

public static ShaderResult FromFile(string path, Options options, IEffectCompilerOutput output)

Parameters

path string
options Options
output IEffectCompilerOutput

Returns

ShaderResult

FromString(string, string, Options, IEffectCompilerOutput)

public static ShaderResult FromString(string effectSource, string filePath, Options options, IEffectCompilerOutput output)

Parameters

effectSource string
filePath string
options Options
output IEffectCompilerOutput

Returns

ShaderResult

WhitespaceNodes(TokenType, List<ParseNode>, ref string)

public static void WhitespaceNodes(TokenType type, List<ParseNode> nodes, ref string sourceFile)

Parameters

type TokenType
nodes List<ParseNode>
sourceFile string