Development repository for FSR2 integration into Unity Post-Processing Stack V2.
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.

34 lines
788 B

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SGSR2
{
[Serializable]
public struct Params
{
public Vector2Int renderSize;
public Vector2Int displaySize;
public Vector2 renderSizeRcp;
public Vector2 displaySizeRcp;
public Vector2 jitterOffset;
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 ComputeShader convert;
public ComputeShader activate;
public ComputeShader upscale;
}
}