Skip to content

glClearColor

specify clear values for the color buffers

function glClearColor(float $red, float $green, float $blue, float $alpha) : void
arguments
  1. float $red Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0.
  2. float $green
  3. float $blue
  4. float $alpha
returns

void


Copyright © 2010-2014 Khronos Group

This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.