Function TRAP::Graphics::RenderCommand::SetBlendMode#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetBlendMode(BlendMode modeRGB, BlendMode modeAlpha, const Window &window = *TRAP::Application::GetWindow())#

Set blend mode for the given window.

Remark

Headless mode: This function is not available in headless mode.

Parameters:
  • modeRGB – Blend mode for RGB.

  • modeAlpha – Blend mode for alpha.

  • windowWindow to set blend mode for. Default: Main Window.