////////////////////////////////////////////////////// // MK Glow Common // // // // Created by Michael Kremmel // // www.michaelkremmel.de // // Copyright © 2020 All rights reserved. // ////////////////////////////////////////////////////// namespace MK.Glow { /// /// Type of the glow, selective requires seperate shaders /// public enum Workflow { Threshold = 0, Selective = 1 } /// /// Debugging, Raw = Glowmap, default = pre ready, composite = Finalglow without Source image /// public enum DebugView { None = 0, RawBloom = 1, Bloom = 4, Composite = 7 } /// /// Dimension struct for representing render context size /// internal struct RenderDimension : IDimension { public RenderDimension(int width, int height) : this() { this.width = width; this.height = height; } public int width { get; set; } public int height { get; set; } public RenderDimension renderDimension { get{ return this; } } } /// /// Defines which renderpipeline is used /// internal enum RenderPipeline { Legacy = 0, SRP = 1 } }