Interface IClearRenderer
Backend-specific implementation of "fill the currently bound target with a color,
right now" - what Clear(Color) ultimately calls into.
Immediate on OpenGL; queued for replay at the correct point in the recorded command
buffer on Vulkan (see IVulkanClearSink) - the two backends don't share an
implementation because OpenGL executes draw calls synchronously and Vulkan doesn't.
public interface IClearRenderer
Methods
Clear(Color)
Fills the bound target with color now.
void Clear(Color color)
Parameters
colorColor