DXContextClearColors
DXContextClearColors
Sets a specified color to all pixels for the rendering buffer.
bool DXContextClearColors(
int context, // graphic context handle
const DXVector& color // color
);Parameters
- context
[in] Handle for a graphic context created in DXContextCreate().
- color
[in] Rendering color.
Return Value
In case of successful execution, returns true, otherwise - false. To receive an error code, the GetLastError() function should be called.
Note
The DXContextClearColors() function can be used for clearing the color buffer before rendering the next frame.
Last updated on