public class LWJGLOpenVRViewManager extends AbstractVRViewManager
environment, leftCamera, leftEyeDepth, leftEyeTexture, leftPostProcessor, leftViewPort, mirrorViewPort, rightCamera, rightEyeDepth, rightEyeTexture, rightPostProcessor, rightViewPortLEFT_VIEW_NAME, RIGHT_VIEW_NAME| Constructor and Description |
|---|
LWJGLOpenVRViewManager(VREnvironment environment)
Create a new VR view manager attached to the given
VR environment. |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getLeftTexId()
Get the identifier of the left eye texture.
|
protected int |
getRightTexId()
Get the identifier of the right eye texture.
|
void |
initialize()
Initialize the VR view manager.
|
void |
postRender()
Send the rendering result as textures to the two eyes.
|
void |
render()
This method contains action to be done during the rendering phase.
|
void |
update(float tpf)
Update the VR view manager.
|
getHeightAdjustment, getLeftCamera, getLeftDepth, getLeftPostProcessor, getLeftTexture, getLeftViewPort, getMirrorViewPort, getResolutionMuliplier, getRightCamera, getRightDepth, getRightPostProcessor, getRightTexture, getRightViewPort, getVREnvironment, moveScreenProcessingToEyes, setHeightAdjustment, setResolutionMultiplier, syncScreenProcessingpublic LWJGLOpenVRViewManager(VREnvironment environment)
VR environment.environment - the VR environment to which this
view manager is attached.protected int getLeftTexId()
getRightTexId(),
getFullTexId()protected int getRightTexId()
getLeftTexId(),
getFullTexId()public void render()
VRViewManagerrender method of an app state.VRViewManager.postRender()public void postRender()
VRViewManagerpostRender() method of the attached app state.)VRViewManager.render()public void initialize()
VRViewManagerVR environment to an application.public void update(float tpf)
VRViewManagerapp state and should not be called manually.tpf - the time per frame.