#include <BlendState.hpp>
|
bool | enableBlending |
| If TRUE, blending operations will be performed.
|
|
BlendType | srcBlend |
| The operation to perform on pixel RGB values output from the Fragment/Pixel shaders.
|
|
BlendType | destBlend |
| The operation to perform on the current pixel RGB value in the RenderTexture.
|
|
BlendType | alphaSrcBlend |
| The operation to perform on pixel alpha value output from the Fragment/Pixel shaders.
|
|
BlendType | alphaDestBlend |
| The operation to perform on the current pixel alpha value in the RenderTexture.
|
|
BlendEquation | blendEquation |
| How to combine the srcBlend and destBlend operations.
|
|
BlendEquation | alphaBlendEquation |
| How to combine the alphaSrcBlend and alphaDestBlend operations.
|
|
Math::Vector4f | blendFactor |
| Custom blend factor employed when using BlendType::BlendFactor, BlendType::OneMinusBlendFactor, BlendType::AlphaBlendFactor, and/or BlendType::OneMinusAlphaBlendFactor.
|
|
State Component | Default Value |
Enable Blending | True |
Src Blend | One |
Dest Blend | Zero |
Alpha Src Blend | One |
Alpha Dest Blend | Zero |
Blend Equation | Add |
Alpha Blend Equation | Add |
Blend Factor | (1, 1, 1, 1) |
The documentation for this struct was generated from the following file:
- C:/Projects/OcularEngine/OcularCore/include/Graphics/RenderState/BlendState.hpp