Table of Contents

Class MeshNameConverter

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

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

public class MeshNameConverter : ResourceNameConverter
Inheritance
MeshNameConverter
Inherited Members

Constructors

MeshNameConverter()

Initializes a new instance of the MeshNameConverter class.

public MeshNameConverter()

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.