Mount Fuji Engine  0.8b
MF_API void MFRenderLayer_SetClear ( MFRenderLayer pLayer,
MFRenderClearFlags  clearFlags,
const MFVector colour = MFVector::zero,
float  z = 1.f,
int  stencil = 0 
)

Sets the clear mode for a render layer.

Parameters
pLayerAn MFRenderLayer.
clearFlagsA combination of flags from the MFRenderClearFlags enumerated type specifying which buffers to clear.
colourColour to be written.
zZ value to be written.
stencilStencil value to be written.
Returns
None.
Remarks
Render layers are cleared according to the clear mode immediately before rendering.