瀏覽代碼

Update rlgl.h

pull/747/head
Ray 5 年之前
父節點
當前提交
7370ae7b82
共有 1 個檔案被更改,包括 11 行新增0 行删除
  1. +11
    -0
      src/rlgl.h

+ 11
- 0
src/rlgl.h 查看文件

@ -261,6 +261,17 @@ typedef unsigned char byte;
float chromaAbCorrection[4]; // HMD chromatic aberration correction parameters
} VrDeviceInfo;
// VR Stereo rendering configuration for simulator
typedef struct VrStereoConfig {
RenderTexture2D stereoFbo; // VR stereo rendering framebuffer
Shader distortionShader; // VR stereo rendering distortion shader
Matrix eyesProjection[2]; // VR stereo rendering eyes projection matrices
Matrix eyesViewOffset[2]; // VR stereo rendering eyes view offset matrices
int eyeViewportRight[4]; // VR stereo rendering right eye viewport [x, y, w, h]
int eyeViewportLeft[4]; // VR stereo rendering left eye viewport [x, y, w, h]
} VrStereoConfig;
// TraceLog message types
typedef enum {
LOG_ALL,

Loading…
取消
儲存