Table of Contents

Class ShaderNameConverter

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Provides a type converter to convert a shader name to and from other representations. It also provides a mechanism to find existing shaders which have been declared in the workflow.

public class ShaderNameConverter : ResourceNameConverter
Inheritance
ShaderNameConverter
Inherited Members

Constructors

ShaderNameConverter()

Initializes a new instance of the ShaderNameConverter class.

public ShaderNameConverter()

Methods

GetStandardValues(ITypeDescriptorContext)

Returns a collection of resource names which are available in the call context of this type converter request.

public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)

Parameters

context ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context that can be used to extract additional information about the environment from which this converter is invoked. This parameter or properties of this parameter can be null.

Returns

TypeConverter.StandardValuesCollection

A TypeConverter.StandardValuesCollection containing the set of available resources. Only resources for which IsResourceSupported(IResourceConfiguration) returns true will be included.