clear4f


Description:

public void clear4f (ulong buffers, float red, float green, float blue, float alpha)

Clears all the auxiliary buffers identified in the buffers mask, and if that includes the color buffer then the specified color is used.

Parameters:

this

A Framebuffer

buffers

A mask of BufferBit<!-- -->'s identifying which auxiliary buffers to clear

red

The red component of color to clear the color buffer too if specified in buffers.

green

The green component of color to clear the color buffer too if specified in buffers.

blue

The blue component of color to clear the color buffer too if specified in buffers.

alpha

The alpha component of color to clear the color buffer too if specified in buffers.