GvrApi.Feature

  • GvrApi.Feature provides constants representing optional Google VR features, not all devices support them.

  • These constants include ASYNC_REPROJECTION, EXTERNAL_SURFACE, HARDWARE_BUFFERS, HEAD_POSE_6DOF, and MULTIVIEW.

  • Developers can use GvrApi.Feature to query a device's supported features and tailor their VR experience accordingly.

  • The class inherits standard methods from java.lang.Object such as equals, hashCode, and toString.

public static abstract class GvrApi.Feature

Constants that represent non-universal GVR features.

Constants

int ASYNC_REPROJECTION
int EXTERNAL_SURFACE
int HARDWARE_BUFFERS
int HEAD_POSE_6DOF
int MULTIVIEW

Public Constructors

Inherited Methods

Constants

public static final int ASYNC_REPROJECTION

Constant Value: 0

public static final int EXTERNAL_SURFACE

Constant Value: 2

public static final int HARDWARE_BUFFERS

Constant Value: 4

public static final int HEAD_POSE_6DOF

Constant Value: 3

public static final int MULTIVIEW

Constant Value: 1

Public Constructors

public GvrApi.Feature ()