C# Class Glare.Graphics.Rendering.ShaderBuilder

Mostrar archivo Open project: Burton-Radons/Alexandria Class Usage Examples

Public Methods

Method Description
AddSections ( StringBuilder builder ) : void
AddSections ( StringBuilder builder, IEnumerable sectionNames ) : void
AddSections ( StringBuilder builder, string sectionName ) : void
AddSections ( StringBuilder builder, string sectionName1, string sectionName2 ) : void
AddSections ( StringBuilder builder, string sectionName1, string sectionName2, string sectionName3 ) : void
AddVersionCode ( StringBuilder builder ) : void
FragmentShader ( ) : FragmentShader
FragmentShader ( IEnumerable sectionNames ) : FragmentShader
JoinSections ( ) : string
JoinSections ( IEnumerable sectionNames ) : string
ShaderBuilder ( string path, Assembly assembly, ShaderBuilderManager manager = null ) : System
ShaderBuilder ( string path, ShaderBuilderManager manager = null ) : System
ShaderBuilder ( string path, Stream source, ShaderBuilderManager manager = null, bool closeSource = false ) : System
ShaderBuilder ( string path, string source, ShaderBuilderManager manager = null ) : System
VertexShader ( ) : VertexShader
VertexShader ( IEnumerable sectionNames ) : VertexShader

Private Methods

Method Description
AddToSection ( string sectionName, int sourceIndex, int line, string content ) : void
Construct ( ShaderBuilderManager manager ) : void
CountNewlines ( string text ) : int
CreateFromAssemblyResource ( string path, ShaderBuilderManager manager = null ) : ShaderBuilder
ErrorString ( string path, int row, string text ) : string
LineDirective ( int sourceIndex, int line ) : string
ShaderBuilder ( string path ) : System
Split ( string path, string source, ShaderBuilderManager manager, string lastSection, int lastSectionLine ) : void

Method Details

AddSections() public method

public AddSections ( StringBuilder builder ) : void
builder StringBuilder
return void

AddSections() public method

public AddSections ( StringBuilder builder, IEnumerable sectionNames ) : void
builder StringBuilder
sectionNames IEnumerable
return void

AddSections() public method

public AddSections ( StringBuilder builder, string sectionName ) : void
builder StringBuilder
sectionName string
return void

AddSections() public method

public AddSections ( StringBuilder builder, string sectionName1, string sectionName2 ) : void
builder StringBuilder
sectionName1 string
sectionName2 string
return void

AddSections() public method

public AddSections ( StringBuilder builder, string sectionName1, string sectionName2, string sectionName3 ) : void
builder StringBuilder
sectionName1 string
sectionName2 string
sectionName3 string
return void

AddVersionCode() public method

public AddVersionCode ( StringBuilder builder ) : void
builder StringBuilder
return void

FragmentShader() public method

public FragmentShader ( ) : FragmentShader
return FragmentShader

FragmentShader() public method

public FragmentShader ( IEnumerable sectionNames ) : FragmentShader
sectionNames IEnumerable
return FragmentShader

JoinSections() public method

public JoinSections ( ) : string
return string

JoinSections() public method

public JoinSections ( IEnumerable sectionNames ) : string
sectionNames IEnumerable
return string

ShaderBuilder() public method

public ShaderBuilder ( string path, Assembly assembly, ShaderBuilderManager manager = null ) : System
path string
assembly System.Reflection.Assembly
manager ShaderBuilderManager
return System

ShaderBuilder() public method

public ShaderBuilder ( string path, ShaderBuilderManager manager = null ) : System
path string
manager ShaderBuilderManager
return System

ShaderBuilder() public method

public ShaderBuilder ( string path, Stream source, ShaderBuilderManager manager = null, bool closeSource = false ) : System
path string
source Stream
manager ShaderBuilderManager
closeSource bool
return System

ShaderBuilder() public method

public ShaderBuilder ( string path, string source, ShaderBuilderManager manager = null ) : System
path string
source string
manager ShaderBuilderManager
return System

VertexShader() public method

public VertexShader ( ) : VertexShader
return VertexShader

VertexShader() public method

public VertexShader ( IEnumerable sectionNames ) : VertexShader
sectionNames IEnumerable
return VertexShader