|
Unity SDK Docs 1.5.0-beta.6
|
Public Member Functions | |
| void | Initialize (Glasses.DisplayInfo displayInfo) |
| Creates and configures the stereo rendertextures. | |
| void | ValidateNativeTexturePointers () |
| Determines whether the left/right texture handles are still valid, and resets them if needed. | |
| void | GetNativeTexturePointers (out IntPtr leftTexHandle, out IntPtr rightTexHandle) |
| Acquires the native output textures upon startup or invalidaiton. | |
| void | SubmitPreviewTextures (GlassesMirrorMode glassesMirrorMode) |
| Copies frame data from the HDR input textures to the onscreen preview textures. | |
Public Attributes | |
| RenderTexture | LeftTexture_GLS |
| The left eye rendertexture. | |
| RenderTexture | RightTexture_GLS |
| The right eye rendertexture. | |
| RenderTexture | MonoPreviewTex |
| The rendertexture used to display onscreen previews for the left or right eye camera. | |
| RenderTexture | StereoPreviewTex |
| The rendertexture used to display onscreen previews for the left and right eye cameras in stereo. | |
Definition at line 25 of file SplitStereoTextures.cs.
|
inline |
Acquires the native output textures upon startup or invalidaiton.
This should be executed after all rendering is complete, including UI and post processing.
Definition at line 130 of file SplitStereoTextures.cs.
|
inline |
Creates and configures the stereo rendertextures.
| renderFormat_UGLS |
Definition at line 71 of file SplitStereoTextures.cs.
|
inline |
Copies frame data from the HDR input textures to the onscreen preview textures.
| glassesMirrorMode |
Definition at line 147 of file SplitStereoTextures.cs.
|
inline |
Determines whether the left/right texture handles are still valid, and resets them if needed.
This should be executed in OnPreRender(), otherwise IsCreated() always returns true
Definition at line 104 of file SplitStereoTextures.cs.
| RenderTexture TiltFive.SplitStereoTextures.LeftTexture_GLS |
The left eye rendertexture.
This is used to send frame data to the glasses.
Definition at line 33 of file SplitStereoTextures.cs.
| RenderTexture TiltFive.SplitStereoTextures.MonoPreviewTex |
The rendertexture used to display onscreen previews for the left or right eye camera.
Definition at line 56 of file SplitStereoTextures.cs.
| RenderTexture TiltFive.SplitStereoTextures.RightTexture_GLS |
The right eye rendertexture.
This is used to send frame data to the glasses.
Definition at line 38 of file SplitStereoTextures.cs.
| RenderTexture TiltFive.SplitStereoTextures.StereoPreviewTex |
The rendertexture used to display onscreen previews for the left and right eye cameras in stereo.
Definition at line 60 of file SplitStereoTextures.cs.