You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.2 KiB
52 lines
1.2 KiB
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public static class SGSR2
|
|
{
|
|
[Serializable]
|
|
public struct Params
|
|
{
|
|
public Vector2Int renderSize;
|
|
public Vector2Int displaySize;
|
|
|
|
public Vector2 renderSizeRcp;
|
|
public Vector2 displaySizeRcp;
|
|
|
|
public Vector2 jitterOffset;
|
|
public Vector2 padding1;
|
|
|
|
public Matrix4x4 clipToPrevClip;
|
|
|
|
public float preExposure;
|
|
public float cameraFovAngleHor;
|
|
public float cameraNear;
|
|
public float minLerpContribution;
|
|
|
|
public uint bSameCamera;
|
|
public uint reset;
|
|
}
|
|
|
|
[Serializable]
|
|
public class Shaders
|
|
{
|
|
public TwoPassCompute twoPassCompute;
|
|
public ThreePassCompute threePassCompute;
|
|
|
|
[Serializable]
|
|
public class TwoPassCompute
|
|
{
|
|
public ComputeShader convert;
|
|
public ComputeShader upscale;
|
|
}
|
|
|
|
[Serializable]
|
|
public class ThreePassCompute
|
|
{
|
|
public ComputeShader convert;
|
|
public ComputeShader activate;
|
|
public ComputeShader upscale;
|
|
}
|
|
}
|
|
}
|