mirror of
https://github.com/0TheSpy/Seaside.git
synced 2025-09-20 04:35:59 +08:00
Update view_shared.h
This commit is contained in:
@ -32,17 +32,9 @@ enum StereoEye_t
|
|||||||
class CViewSetup
|
class CViewSetup
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CViewSetup()
|
|
||||||
{
|
|
||||||
m_flAspectRatio = 0.0f;
|
float ComputeViewMatrices(VMatrix* pWorldToView, VMatrix* pViewToProjection, VMatrix* pWorldToProjection) const;
|
||||||
m_bRenderToSubrectOfLargerScreen = false;
|
|
||||||
m_bDoBloomAndToneMapping = true;
|
|
||||||
m_bOrtho = false;
|
|
||||||
m_bOffCenter = false;
|
|
||||||
m_bCacheFullSceneState = false;
|
|
||||||
m_bViewToProjectionOverride = false;
|
|
||||||
m_eStereoEye = STEREO_EYE_MONO;
|
|
||||||
}
|
|
||||||
|
|
||||||
int x;
|
int x;
|
||||||
int m_nUnscaledX;
|
int m_nUnscaledX;
|
||||||
@ -51,7 +43,6 @@ public:
|
|||||||
int width;
|
int width;
|
||||||
int m_nUnscaledWidth;
|
int m_nUnscaledWidth;
|
||||||
int height;
|
int height;
|
||||||
StereoEye_t m_eStereoEye;
|
|
||||||
int m_nUnscaledHeight;
|
int m_nUnscaledHeight;
|
||||||
|
|
||||||
bool m_bOrtho;
|
bool m_bOrtho;
|
||||||
@ -60,34 +51,60 @@ public:
|
|||||||
float m_OrthoRight;
|
float m_OrthoRight;
|
||||||
float m_OrthoBottom;
|
float m_OrthoBottom;
|
||||||
|
|
||||||
|
bool m_bCustomViewMatrix;
|
||||||
|
matrix3x4_t m_matCustomViewMatrix;
|
||||||
|
|
||||||
|
bool m_bCustomProjMatrix;
|
||||||
|
VMatrix m_matCustomProjMatrix;
|
||||||
|
|
||||||
|
const CVolumeCuller* m_pCSMVolumeCuller;
|
||||||
|
|
||||||
float fov;
|
float fov;
|
||||||
float fovViewmodel;
|
float fovViewmodel;
|
||||||
|
|
||||||
Vector origin;
|
Vector origin;
|
||||||
|
|
||||||
QAngle angles;
|
Vector angles;
|
||||||
float zNear;
|
float zNear;
|
||||||
float zFar;
|
float zFar;
|
||||||
|
|
||||||
float zNearViewmodel;
|
float zNearViewmodel;
|
||||||
float zFarViewmodel;
|
float zFarViewmodel;
|
||||||
|
|
||||||
bool m_bRenderToSubrectOfLargerScreen;
|
|
||||||
|
|
||||||
float m_flAspectRatio;
|
float m_flAspectRatio;
|
||||||
|
|
||||||
bool m_bOffCenter;
|
float m_flNearBlurDepth;
|
||||||
|
float m_flNearFocusDepth;
|
||||||
|
float m_flFarFocusDepth;
|
||||||
|
float m_flFarBlurDepth;
|
||||||
|
float m_flNearBlurRadius;
|
||||||
|
float m_flFarBlurRadius;
|
||||||
|
int m_nDoFQuality;
|
||||||
|
|
||||||
|
void* m_nMotionBlurMode;
|
||||||
|
float m_flShutterTime;
|
||||||
|
Vector m_vShutterOpenPosition;
|
||||||
|
QAngle m_shutterOpenAngles;
|
||||||
|
Vector m_vShutterClosePosition;
|
||||||
|
QAngle m_shutterCloseAngles;
|
||||||
|
|
||||||
float m_flOffCenterTop;
|
float m_flOffCenterTop;
|
||||||
float m_flOffCenterBottom;
|
float m_flOffCenterBottom;
|
||||||
float m_flOffCenterLeft;
|
float m_flOffCenterLeft;
|
||||||
float m_flOffCenterRight;
|
float m_flOffCenterRight;
|
||||||
|
bool m_bOffCenter : 1;
|
||||||
|
|
||||||
bool m_bDoBloomAndToneMapping;
|
bool m_bRenderToSubrectOfLargerScreen : 1;
|
||||||
|
|
||||||
bool m_bCacheFullSceneState;
|
bool m_bDoBloomAndToneMapping : 1;
|
||||||
|
bool m_bDoDepthOfField : 1;
|
||||||
|
bool m_bHDRTarget : 1;
|
||||||
|
bool m_bDrawWorldNormal : 1;
|
||||||
|
bool m_bCullFrontFaces : 1;
|
||||||
|
|
||||||
bool m_bViewToProjectionOverride;
|
bool m_bCacheFullSceneState : 1;
|
||||||
VMatrix m_ViewToProjection;
|
|
||||||
|
bool m_bCSMView : 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user