nw::gfx::FrameBufferObject::ClearBuffer Member Function

Syntax

void ClearBuffer(
     u32 mask,
     const ut::FloatColor & clearColor,
     f32 clearDepth,
     u8 clearStencil = 0
) const;

Arguments

Name Description
in mask The mask value used to specify the buffer to be cleared.
in clearColor The clear color.
in clearDepth The clear depth.
in clearStencil The clear stencil value.

Return Values

None.

Description

Clears the framebuffer.

Executes a clear process equivalent to glClear on the frame buffer enabled by ActivateFrameBuffer.


CONFIDENTIAL