AI-generated Key Takeaways
-
BufferSpec.ColorFormatdefines available color formats for VR content and needs to match thegvr_types.henum. -
It includes constants for the total number of formats (
NUM_FORMATS) and specific color formats likeRGBA_8888andRGB_565. -
This abstract class provides a way to specify color formats for buffers used in VR rendering.
-
Developers can utilize this class to control the color representation of VR content.
public static abstract class
BufferSpec.ColorFormat
Available color formats. Needs to be kept in sync with the enum in gvr_types.h.
Constants
| int | NUM_FORMATS | |
| int | RGBA_8888 | |
| int | RGB_565 |
Public Constructors
Inherited Methods
Constants
public static final int NUM_FORMATS
Constant Value:
2
public static final int RGBA_8888
Constant Value:
0
public static final int RGB_565
Constant Value:
1