C# 클래스 Vector.Gpu.ShaderLibrary

Vector Shader Builder. A utility to load Shader source code from a fragmented XML document. Shader source code can be compiled into working programs. See Specification for Format.
파일 보기 프로젝트 열기: sinclairzx81/vector-cs 1 사용 예제들

공개 메소드들

메소드 설명
Load ( string filename ) : ShaderLibrary
Parse ( string xml ) : ShaderLibrary
ShaderLibrary ( ) : System

비공개 메소드들

메소드 설명
read_fragment_shader ( FragmentShader fragmentShader, System.Xml.Linq.XElement element ) : void
read_geometry_shader ( GeometryShader geometryShader, System.Xml.Linq.XElement element ) : void
read_include ( Include include, System.Xml.Linq.XElement element ) : void
read_library ( ShaderLibrary effect, System.Xml.Linq.XElement element ) : void
read_program ( Program program, System.Xml.Linq.XElement element ) : void
read_source ( Source source, System.Xml.Linq.XElement element ) : void
read_vertex_shader ( VertexShader vertexShader, System.Xml.Linq.XElement element ) : void

메소드 상세

Load() 공개 정적인 메소드

public static Load ( string filename ) : ShaderLibrary
filename string
리턴 ShaderLibrary

Parse() 공개 정적인 메소드

public static Parse ( string xml ) : ShaderLibrary
xml string
리턴 ShaderLibrary

ShaderLibrary() 공개 메소드

public ShaderLibrary ( ) : System
리턴 System