C# Класс ShaderCompiler.Core.Compiler

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
FileTag string

Открытые методы

Метод Описание
Compile ( string outDirectory, CompilerOutputs outputType, bool compileMaterial, bool compileMetroShaders, bool compileSilverlightShaders ) : void
Compiler ( string projFileName ) : System

Приватные методы

Метод Описание
compileFields ( Type shader, StreamWriter stream, StreamWriter vsStream, StreamWriter psStream, StreamWriter reflectionStream ) : void
compileLibrary ( string dllFileName, bool compileMaterial, bool compileMetroShaders, bool compileSilverlightShaders ) : string
compileMaterialFiles ( string shaderLibName, Type shader ) : string
compileShader ( Type shader, Stream stream, Stream vsStream, Stream psStream, Stream reflectionStream ) : void
convertToBasicType ( Type type, CompilerOutputs outputType, bool convertVectorTypes ) : string
convertToBasicType ( Type type, bool convertVectorTypes ) : string
convertToBasicType ( string type, CompilerOutputs outputType, bool convertVectorTypes ) : string
convertToBasicType ( string type, bool convertVectorTypes ) : string
createConstantArrayType ( FieldUsage usage, FieldInfo field, string methodValue, string globalFieldFormat, string fieldFormat, string constantType, string &constantTypeProperties, string &applyGlobalMethodBody, string &applyInstanceMethodBody, string &applyInstancingMethodBody ) : void
createConstantType ( FieldUsage usage, FieldInfo field, string methodValue, string globalFieldFormat, string fieldFormat, string constantType, string &constantTypeProperties, string &applyGlobalMethodBody, string &applyInstanceMethodBody, string &applyInstancingMethodBody ) : void
formatCode ( byte code ) : string
getBaseCompilerOutput ( ) : BaseCompilerOutputs
getBaseCompilerOutput ( CompilerOutputs outputType ) : BaseCompilerOutputs
getCompilerIfBlockNames ( ) : string[]
getGLVSInputFieldName ( FieldInfo field ) : string
getRegisterySize ( FieldInfo field ) : int
processNormalFields ( StreamWriter stream, List normalFields, BaseCompilerOutputs baseType ) : void
writeReflectionFile ( StreamWriter reflectionStream, List normalFields, int &variableByteOffset, int &resourceIndex, bool vsConstansts ) : void

Описание методов

Compile() публичный Метод

public Compile ( string outDirectory, CompilerOutputs outputType, bool compileMaterial, bool compileMetroShaders, bool compileSilverlightShaders ) : void
outDirectory string
outputType CompilerOutputs
compileMaterial bool
compileMetroShaders bool
compileSilverlightShaders bool
Результат void

Compiler() публичный Метод

public Compiler ( string projFileName ) : System
projFileName string
Результат System

Описание свойств

FileTag публичное свойство

public string FileTag
Результат string