Skip to content

Categorize Layers

Generally, your layers will be structured for the user following this structure.

  • Assembly Name
    • Category Name 1
      • Subcategory Name 1
        • Extension Name 1
        • Extension Name 2
      • Subcategory Name 1
        • Extension Name 3

While the assembly name is taken from the LayerExtensionAssemblyAttribute, the category and subcategory can be defined for each layer individually.

In addition to categories, you can also specify a collection of tags to attach to the given layers, either from a predefined set of layer tags, or custom ones. These tags will be displayed for the user within the layer library.

For effect layers, you can adjust the category and subcategory names within the EffectLayerAttribute, like so.

[EffectLayer(Name = "Example", Category = "Category", SubCategory = "Sub Category",
    Tags = new []{ "custom-tag" })]
public class ExampleEffectLayer : EffectLayerBase
{
    // ...
}