BufferViewport.EyeType

  • BufferViewport.EyeType is an abstract class defining the eye type for a BufferViewport, typically used in VR rendering.

  • It includes two constants: LEFT (0) and RIGHT (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.EyeType mainly 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

int LEFT
int RIGHT

Public Constructors

Inherited Methods

Constants

public static final int LEFT

Constant Value: 0

public static final int RIGHT

Constant Value: 1

Public Constructors

public BufferViewport.EyeType ()