열차 목업의 내부 확인용 프로젝트
smchoi
2024-07-22 3fc9f79ca436203b0b5ba39b6a079ee086227c11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//////////////////////////////////////////////////////
// MK Glow Common                                      //
//                                                    //
// Created by Michael Kremmel                       //
// www.michaelkremmel.de                            //
// Copyright © 2020 All rights reserved.            //
//////////////////////////////////////////////////////
namespace MK.Glow
{
    /// <summary>
    /// Type of the glow, selective requires seperate shaders
    /// </summary>
    public enum Workflow
    {
        Threshold = 0,
        Selective = 1
    }
 
    /// <summary>
    /// Debugging, Raw = Glowmap, default = pre ready, composite = Finalglow without Source image
    /// </summary>
    public enum DebugView
    {
        None = 0,
        RawBloom = 1,
        Bloom = 4,
        Composite = 7
    }
 
    /// <summary>
    /// Dimension struct for representing render context size
    /// </summary>
    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; } }
    }
    
    /// <summary>
    /// Defines which renderpipeline is used
    /// </summary>
    internal enum RenderPipeline
    {
        Legacy = 0,
        SRP = 1
    }
}