// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved. using FlaxEngine; namespace FlaxEditor.Content { /// /// Content item that contains shader source code. /// /// public class ShaderSourceItem : ContentItem { /// /// Initializes a new instance of the class. /// /// The path to the item. public ShaderSourceItem(string path) : base(path) { ShowFileExtension = true; } /// public override ContentItemType ItemType => ContentItemType.Asset; /// public override ContentItemSearchFilter SearchFilter => ContentItemSearchFilter.Shader; /// public override string TypeDescription => "Shader Source Code"; /// public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Document128; } }