Class EffectAttributes
- Namespace
- HelixToolkit.SharpDX.Model
- Assembly
- HelixToolkit.SharpDX.dll
public sealed class EffectAttributes : IEffectAttributes
- Inheritance
-
EffectAttributes
- Implements
- Inherited Members
Constructors
EffectAttributes(string)
Initializes a new instance of the EffectAttributes class.
public EffectAttributes(string name)
Parameters
namestringThe name.
Properties
EffectName
public string EffectName { get; }
Property Value
Methods
AddAttribute(string, object)
Adds the attribute.
public void AddAttribute(string attName, object parameter)
Parameters
GetAttribute(string)
Gets the attribute.
public object? GetAttribute(string attName)
Parameters
attNamestringName of the att.
Returns
Parse(string)
Parses the specified att string.
public static EffectAttributes[] Parse(string attString)
Parameters
attStringstringThe att string.
Returns
Parse(string, IEffectAttributeParser)
Parses the specified att string.
public static EffectAttributes[] Parse(string attString, IEffectAttributeParser parser)
Parameters
attStringstringThe att string.
parserIEffectAttributeParserThe parser.
Returns
RemoveAttribute(string)
Removes the attribute.
public void RemoveAttribute(string attName)
Parameters
attNamestringName of the att.
TryGetAttribute(string, out object?)
Tries the get attribute.
public bool TryGetAttribute(string attName, out object? attribute)