Click or drag to resize
AB4D logo

ColorOverlayPostProcess Class

ColorOverlayPostProcess is a post process that can add the specified color to each pixel and then multiply the color by the specified ColorMultiplier.
The following operation is executed in the shader: finalColor = float4((color.rgb + AddedColor), color.a) * ColorMultiplier
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDXResourceBase
    Ab3d.DirectXSharedDXResource
      Ab3d.DirectXSharedDXDeviceResource
        Ab3d.DirectX.PostProcessingPostProcessBase
          Ab3d.DirectX.PostProcessingStandardPostProcess
            Ab3d.DirectX.PostProcessingSimplePixelShaderPostProcess
              Ab3d.DirectX.PostProcessingColorOverlayPostProcess

Namespace: Ab3d.DirectX.PostProcessing
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public class ColorOverlayPostProcess : SimplePixelShaderPostProcess

The ColorOverlayPostProcess type exposes the following members.

Constructors
 NameDescription
Public methodColorOverlayPostProcess Initializes a new instance of the ColorOverlayPostProcess class.
Public methodColorOverlayPostProcess(Color4) Initializes a new instance of the ColorOverlayPostProcess class.
Public methodColorOverlayPostProcess(Color4, Color3) Initializes a new instance of the ColorOverlayPostProcess class.
Top
Properties
 NameDescription
Public propertyAddedColor Color3 that is added to each pixel (before multiplying by ColorMultiplier).
Public propertyColorMultiplier Color4 that is multiplied by each pixel's color (after adding AddedColor).
Top
See Also