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

Function Documentation#

void TRAP::Graphics::RenderCommand::SetBlendConstant(BlendConstant sourceRGB, BlendConstant sourceAlpha, BlendConstant destinationRGB, BlendConstant destinationAlpha, const Window &window = *TRAP::Application::GetWindow())#

Set separate blend constant for the given window.

Remark

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

Parameters:
  • sourceRGB – Blend constant for source RGB.

  • sourceAlpha – Blend constant for source alpha.

  • destinationRGB – Blend constant for destination RGB.

  • destinationAlpha – Blend constant for destination alpha.

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