RenderBegin
RenderBegin
Prepares a graphic context for rendering a new frame.
virtual bool RenderBegin(
uint flags, // combination of flags
uint background_color=0 // background color
);Parameters
- flags
[in] Combination of flags that sets the rendering mode. Possible values: DX_CLEAR_COLOR – clear the image buffer using background_color. DX_CLEAR_DEPTH – clear the depth buffer.
- background_color=0
[in] 3D scene background color.
Return Value
true – if successful, false - if failed to update shader inputs.
Last updated on