BufferSpec.DepthStencilFormat

  • BufferSpec.DepthStencilFormat defines available depth and stencil formats for VR rendering, corresponding to the gvr_types.h enum.

  • It provides constants representing various depth and stencil buffer configurations, including DEPTH_16, DEPTH_24, DEPTH_24_STENCIL_8, DEPTH_32_F, DEPTH_32_F_STENCIL_8, NONE, NUM_FORMATS, and STENCIL_8.

  • Each constant has a specific integer value that can be used when specifying the desired depth and stencil format.

  • Developers can use these constants to configure the depth and stencil buffers for their VR applications, ensuring compatibility with the underlying rendering system.

public static abstract class BufferSpec.DepthStencilFormat

Available depth & stencil formats. Needs to be kept in sync with the enum in gvr_types.h.

Constants

int DEPTH_16
int DEPTH_24
int DEPTH_24_STENCIL_8
int DEPTH_32_F
int DEPTH_32_F_STENCIL_8
int NONE
int NUM_FORMATS
int STENCIL_8

Public Constructors

Inherited Methods

Constants

public static final int DEPTH_16

Constant Value: 0

public static final int DEPTH_24

Constant Value: 1

public static final int DEPTH_24_STENCIL_8

Constant Value: 2

public static final int DEPTH_32_F

Constant Value: 3

public static final int DEPTH_32_F_STENCIL_8

Constant Value: 4

public static final int NONE

Constant Value: 255

public static final int NUM_FORMATS

Constant Value: 6

public static final int STENCIL_8

Constant Value: 5

Public Constructors

public BufferSpec.DepthStencilFormat ()