C# Class RendererGenerator.VertexAttribute

Exibir arquivo Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
Parse ( System.Xml.Linq.XElement xElement ) : VertexAttribute
ToGLSL ( ) : string
ToXElement ( ) : System.Xml.Linq.XElement
VertexAttribute ( string nameInShader, string nameInModel, string attributeType ) : System.Xml.Linq

Method Details

Parse() public static method

public static Parse ( System.Xml.Linq.XElement xElement ) : VertexAttribute
xElement System.Xml.Linq.XElement
return VertexAttribute

ToGLSL() public method

public ToGLSL ( ) : string
return string

ToXElement() public method

public ToXElement ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement

VertexAttribute() public method

public VertexAttribute ( string nameInShader, string nameInModel, string attributeType ) : System.Xml.Linq
nameInShader string
nameInModel string
attributeType string
return System.Xml.Linq