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.
72 lines
1.1 KiB
72 lines
1.1 KiB
#pragma once
|
|
|
|
enum FSR2PluginEvent : int32_t
|
|
{
|
|
eDestroyFeature,
|
|
eExecute,
|
|
ePostExecute,
|
|
eInit
|
|
};
|
|
|
|
enum FSR2Quality: int32_t
|
|
{
|
|
qQuality,
|
|
qBalanced,
|
|
qPerformance,
|
|
qUltraPerformance
|
|
};
|
|
|
|
enum FSR2Textures: int32_t
|
|
{
|
|
tColorInput,
|
|
tColorOutput,
|
|
tDepth,
|
|
tMotionVectors,
|
|
tTransparencyMask,
|
|
tExposureTexture,
|
|
tReactiveMask,
|
|
tBiasColorMask,
|
|
};
|
|
|
|
struct FSR2CommandInitializationData
|
|
{
|
|
uint32_t maxRenderSizeWidth;
|
|
uint32_t maxRenderSizeHeight;
|
|
uint32_t displaySizeWidth;
|
|
uint32_t displaySizeHeight;
|
|
int32_t flags;
|
|
|
|
uint32_t featureSlot;
|
|
};
|
|
|
|
struct FSR2CommandExecutionData
|
|
{
|
|
float jitterOffsetX;
|
|
float jitterOffsetY;
|
|
float MVScaleX;
|
|
float MVScaleY;
|
|
uint32_t renderSizeWidth;
|
|
uint32_t renderSizeHeight;
|
|
int32_t enableSharpening;
|
|
float sharpness;
|
|
float frameTimeDelta;
|
|
float preExposure;
|
|
int32_t reset;
|
|
float cameraNear;
|
|
float cameraFar;
|
|
float cameraFovAngleVertical;
|
|
|
|
uint32_t featureSlot;
|
|
};
|
|
|
|
struct FSR2TextureTable
|
|
{
|
|
intptr_t colorInput;
|
|
intptr_t colorOutput;
|
|
intptr_t depth;
|
|
intptr_t motionVectors;
|
|
intptr_t transparencyMask;
|
|
intptr_t exposureTexture;
|
|
intptr_t reactiveMask;
|
|
intptr_t biasColorMask;
|
|
};
|