# DX10View_BeginRender DirectX 10 Callback Reference

        RTSHADER_API void DX10View_BeginRender
        (
            float       red,
            float       green,
            float       blue
        );

Sets the current render targets and clears them with the given color. It also prepares the device so that drawing calls can be issued.

Parameters:

  | red | R value for the new color
  | green | G value for the new color
  | blue | B value for the new color

See also:
  DX10View_EndRender, tagDX10ViewGlobals, DirectX10 Callbacks

Since:
  7.0