namespace Ghost.Editor.Core.AssetHandle; /// /// Represents a texture asset. /// public class TextureAsset : Asset { public override string Name { get; set; } /// /// Width of the texture in pixels. /// public uint Width { get; set; } /// /// Height of the texture in pixels. /// public uint Height { get; set; } /// /// Number of mipmap levels. /// public uint MipLevels { get; set; } /// /// Texture format (e.g., "RGBA8", "BC1", "BC7"). /// public string Format { get; set; } /// /// Whether the texture uses sRGB color space. /// public bool IsSRGB { get; set; } /// /// Relative path to the source image file. /// public string SourcePath { get; set; } public TextureAsset(Guid id, string name) : base(id) { Name = name; Format = "RGBA8"; IsSRGB = true; SourcePath = string.Empty; } }