defaultDepthStencilFormat property

PixelFormat get defaultDepthStencilFormat

A supported PixelFormat for textures that store both a stencil and depth component. This will never return a depth-only or stencil-only texture.

May be PixelFormat.unknown if no suitable depth+stencil format was found.

Implementation

PixelFormat get defaultDepthStencilFormat {
  return PixelFormat.values[_getDefaultDepthStencilFormat()];
}