AI-generated Key Takeaways
-
BufferViewport.EyeTypeis an abstract class defining the eye type for aBufferViewport, typically used in VR rendering. -
It includes two constants:
LEFT(0) andRIGHT(1), representing the left and right eyes respectively. -
This class provides a way to specify which eye a particular viewport is associated with, enabling stereoscopic rendering.
-
While having a public constructor,
BufferViewport.EyeTypemainly serves as a container for the eye constants and is likely extended by other classes for more specific functionalities.
public static abstract class
BufferViewport.EyeType
The type of eye corresponding to the BufferViewport.
Constants
public static final int LEFT
Constant Value:
0
public static final int RIGHT
Constant Value:
1