public RenderTargetBlendDescription() { IsBlendEnable = false; SourceBlend = GpuBlendOption.One; DestinationBlend = GpuBlendOption.Zero; BlendOperation = GpuBlendOperation.Add; SourceAlphaBlend = GpuBlendOption.One; DestinationAlphaBlend = GpuBlendOption.Zero; AlphaBlendOperation = GpuBlendOperation.Add; }
public static SharpDX.Direct3D11.BlendOperation ToBlendOperation(GpuBlendOperation blendOperation) { return((SharpDX.Direct3D11.BlendOperation)blendOperation); }