Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ClearOptions

Hierarchy

  • ClearOptions

Index

Properties

Optional color

color: [number, number, number, number]

Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0.0.

Optional depth

depth: number

Specifies the depth value used when the depth buffer is cleared. The initial value is 1.0.

Optional framebuffer

framebuffer: Framebuffer | null

Sets the target framebuffer to clear (if unspecified, uses the current framebuffer object).

Optional stencil

stencil: number

Specifies the index used when the stencil buffer is cleared. The initial value is 0.

Generated using TypeDoc