Utilities that can help when using an FilmGrainEffect. More...
Static Public Member Functions | |
static void | prepareBlendStateForGrainBlending (nkGraphics::BlendState *blendState) |
Utilities that can help when using an FilmGrainEffect.
|
static |
Allows to setup a blend state to use with an effect for which the FilmGrainEffect::setBlendGrainInTarget() has been set to true. This blend state can be used by using nkGraphics::PostProcessPass::setBlendState() on the pass using the effect's shader.
blendState | The state to setup for such a use. |