Table of Contents

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

name string

The name.

Properties

EffectName

public string EffectName { get; }

Property Value

string

Methods

AddAttribute(string, object)

Adds the attribute.

public void AddAttribute(string attName, object parameter)

Parameters

attName string

Name of the att.

parameter object

The parameter.

GetAttribute(string)

Gets the attribute.

public object? GetAttribute(string attName)

Parameters

attName string

Name of the att.

Returns

object

Parse(string)

Parses the specified att string.

public static EffectAttributes[] Parse(string attString)

Parameters

attString string

The att string.

Returns

EffectAttributes[]

Parse(string, IEffectAttributeParser)

Parses the specified att string.

public static EffectAttributes[] Parse(string attString, IEffectAttributeParser parser)

Parameters

attString string

The att string.

parser IEffectAttributeParser

The parser.

Returns

EffectAttributes[]

RemoveAttribute(string)

Removes the attribute.

public void RemoveAttribute(string attName)

Parameters

attName string

Name of the att.

TryGetAttribute(string, out object?)

Tries the get attribute.

public bool TryGetAttribute(string attName, out object? attribute)

Parameters

attName string

Name of the att.

attribute object

The attribute.

Returns

bool