C# Class EffectEditor.EffectComponents.HLSLInformation.Semantics

A nested class used to store input/output semantics for vertex/pixel shaders, along with types
显示文件 Open project: vchelaru/FlatRedBall

Public Methods

Method Description
Find ( String name, bool isVertexShader, bool isInput ) : HlslSemantic

Finds a semantic by name, whether it is an input (or output) semantic, and what type of shader the semantic is for.

Method Details

Find() public static method

Finds a semantic by name, whether it is an input (or output) semantic, and what type of shader the semantic is for.
public static Find ( String name, bool isVertexShader, bool isInput ) : HlslSemantic
name String The name of the semantic
isVertexShader bool Whether or not the semantic is in a vertex shader
isInput bool Whether or not the semantic is an input semantic
return HlslSemantic