SurfaceEntity.StereoMode
class SurfaceEntity.StereoMode
Specifies how the surface content will be routed for stereo viewing. Applications must render into the surface in accordance with what they provided here in order for the compositor to correctly produce a stereoscopic view to the user.
Values here match values from androidx.media3.common.C.StereoMode.
Summary
Public companion properties |
|
|---|---|
SurfaceEntity.StereoMode |
Each eye will see the entire surface (no separation) |
SurfaceEntity.StereoMode |
Multiview video, primary, auxiliary views will map to left, right eyes |
SurfaceEntity.StereoMode |
Multiview video, primary, auxiliary views will map to right, left eyes |
SurfaceEntity.StereoMode |
The left, right halves of the surface will map to left, right eyes |
SurfaceEntity.StereoMode |
The top, bottom halves of the surface will map to left, right eyes |
Public companion properties
MULTIVIEW_LEFT_PRIMARY
val MULTIVIEW_LEFT_PRIMARY: SurfaceEntity.StereoMode
Multiview video, primary, auxiliary views will map to left, right eyes
MULTIVIEW_RIGHT_PRIMARY
val MULTIVIEW_RIGHT_PRIMARY: SurfaceEntity.StereoMode
Multiview video, primary, auxiliary views will map to right, left eyes
SIDE_BY_SIDE
val SIDE_BY_SIDE: SurfaceEntity.StereoMode
The left, right halves of the surface will map to left, right eyes
TOP_BOTTOM
val TOP_BOTTOM: SurfaceEntity.StereoMode
The top, bottom halves of the surface will map to left, right eyes