BlendState::IsTargetAllocationNeededForBlendMode

BlendState::IsTargetAllocationNeededForBlendMode
static bool IsTargetAllocationNeededForBlendMode(BlendMode mode);
Description

IsTargetAllocationNeededForBlendMode returns whether the allocation of a render target is needed when the given blend mode is pushed on the blend stack.

Parameters
Parameters 
Description 
BlendMode mode 
The given blend mode. 
Return Value

True if allocation is required and false otherwise.