/// <summary> /// Blends image with other image at specified positions. /// </summary> public void BlendTo(uint x, uint y, States.BlendOperation operation, States.BlendOperand source, States.BlendOperand dest, float factor, RenderTargetView target) { BlendState state = new BlendState(); state.BlendOperation = operation; state.BlendSource = source; state.BlendDestination = dest; BlendTo(x, y, state, new Colour(factor, factor, factor, 1), target); }
/// <summary> /// Blends image with other image. /// </summary> public void BlendTo(States.BlendOperation operation, States.BlendOperand source, States.BlendOperand dest, float factor, RenderTargetView target) { BlendTo(0, 0, operation, source, dest, factor, target); }