Table of Contents

Class TextureNameConverter

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

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

public class TextureNameConverter : ResourceNameConverter
Inheritance
TextureNameConverter
Inherited Members

Constructors

TextureNameConverter()

Initializes a new instance of the TextureNameConverter class.

public TextureNameConverter()

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.