EffectEditor.EffectComponents.HLSLInformation.HlslSemantic.ToString C# (CSharp) Method

ToString() public method

Returns a string representing the semantic
public ToString ( bool includeType ) : string
includeType bool Whether or not the type name should be included
return string
        public string ToString(bool includeType)
        {
            return
                (includeType? Type.ToString() + " " : String.Empty) +
                Name +
                (MultipleResourcesSupported ?
                    ((ResourceNumber < 0) ? "[N]" : ResourceNumber.ToString()) : String.Empty);
        }

Same methods

HlslSemantic::ToString ( ) : string