Function TRAP::Graphics::RenderCommand::SetBlendConstant(BlendConstant, BlendConstant, const Window&)#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetBlendConstant(BlendConstant sourceRGBA, BlendConstant destinationRGBA, const Window &window = *TRAP::Application::GetWindow())#

Set combined blend constant for the given window.

Remark

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

Parameters:
  • sourceRGBA – Blend constant for source RGBA.

  • destinationRGBA – Blend constant for destination RGBA.

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