![]() |
Unity SDK Docs 1.5.0.beta.7
|
Public Member Functions | |
| void | Initialize (Glasses.DisplayInfo displayInfo, RenderTextureFormat renderTextureFormat) |
| Creates and configures the stereo rendertextures. | |
| void | Initialize (Glasses.DisplayInfo displayInfo, GraphicsFormat graphicsFormat) |
| 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 | 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. | |
Properties | |
| RenderTexture | LeftTexture_GLS [get] |
| The left eye rendertexture. | |
| RenderTexture | RightTexture_GLS [get] |
| The right eye rendertexture. | |
| void TiltFive.SplitStereoTextures.GetNativeTexturePointers | ( | out IntPtr | leftTexHandle, |
| out IntPtr | rightTexHandle ) |
Acquires the native output textures upon startup or invalidaiton.
This should be executed after all rendering is complete, including UI and post processing.
| void TiltFive.SplitStereoTextures.Initialize | ( | Glasses.DisplayInfo | displayInfo, |
| GraphicsFormat | graphicsFormat ) |
Creates and configures the stereo rendertextures.
| displayInfo | |
| graphicsFormat | The format for the rendertextures used for capturing scene content. |
| void TiltFive.SplitStereoTextures.Initialize | ( | Glasses.DisplayInfo | displayInfo, |
| RenderTextureFormat | renderTextureFormat ) |
Creates and configures the stereo rendertextures.
| displayInfo | |
| renderTextureFormat | The format for the rendertextures used for capturing scene content. |
| void TiltFive.SplitStereoTextures.SubmitPreviewTextures | ( | GlassesMirrorMode | glassesMirrorMode | ) |
Copies frame data from the HDR input textures to the onscreen preview textures.
| glassesMirrorMode |
| void TiltFive.SplitStereoTextures.ValidateNativeTexturePointers | ( | ) |
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
| RenderTexture TiltFive.SplitStereoTextures.MonoPreviewTex |
The rendertexture used to display onscreen previews for the left or right eye camera.
| RenderTexture TiltFive.SplitStereoTextures.StereoPreviewTex |
The rendertexture used to display onscreen previews for the left and right eye cameras in stereo.
|
get |
The left eye rendertexture.
This is used to send frame data to the glasses.
|
get |
The right eye rendertexture.
This is used to send frame data to the glasses.