C# 클래스 ShaderCompiler.Core.Compiler

파일 보기 프로젝트 열기: reignstudios/ReignSDK

공개 프로퍼티들

프로퍼티 타입 설명
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