|
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.
|
|
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.
|
◆ GetNativeTexturePointers()
void TiltFive.SplitStereoTextures.GetNativeTexturePointers |
( |
out IntPtr | leftTexHandle, |
|
|
out IntPtr | rightTexHandle ) |
|
inline |
Acquires the native output textures upon startup or invalidaiton.
This should be executed after all rendering is complete, including UI and post processing.
◆ Initialize()
void TiltFive.SplitStereoTextures.Initialize |
( |
Glasses.DisplayInfo | displayInfo | ) |
|
|
inline |
Creates and configures the stereo rendertextures.
- Parameters
-
◆ SubmitPreviewTextures()
void TiltFive.SplitStereoTextures.SubmitPreviewTextures |
( |
GlassesMirrorMode | glassesMirrorMode | ) |
|
|
inline |
Copies frame data from the HDR input textures to the onscreen preview textures.
- Parameters
-
◆ ValidateNativeTexturePointers()
void TiltFive.SplitStereoTextures.ValidateNativeTexturePointers |
( |
| ) |
|
|
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
◆ LeftTexture_GLS
RenderTexture TiltFive.SplitStereoTextures.LeftTexture_GLS |
The left eye rendertexture.
This is used to send frame data to the glasses.
◆ MonoPreviewTex
RenderTexture TiltFive.SplitStereoTextures.MonoPreviewTex |
The rendertexture used to display onscreen previews for the left or right eye camera.
◆ RightTexture_GLS
RenderTexture TiltFive.SplitStereoTextures.RightTexture_GLS |
The right eye rendertexture.
This is used to send frame data to the glasses.
◆ StereoPreviewTex
RenderTexture TiltFive.SplitStereoTextures.StereoPreviewTex |
The rendertexture used to display onscreen previews for the left and right eye cameras in stereo.
The documentation for this class was generated from the following file: