Click or drag to resize
Ab4d.SharpEngine logo

ExpandPostProcess Properties

The ExpandPostProcess type exposes the following members.

Properties
 NameDescription
Public propertyBackgroundColor The color of the background - only colors that are not the same as background will be expanded.
Public propertyExpansionWidth Gets or sets the width of the expansion (the distance in pixels that are checked away from the current pixel). ExpansionWidth values can be between 1 (zero is not allowed) and 16 (ExpandPostProcess.MaxExpansionWidth). Bigger numbers mean that more pixels will be sampled in pixel shader and will therefore require more time to execute the post process. Default value is 2.
Public propertyFactors Gets or sets a Vector4 that specifies RGBA values that are multiplied with each rendered pixel. Default value is (1, 1, 1, 1)
Public propertyIsVerticalRenderingPass Gets a boolean that specifies if vertical rendering pass is applied. If false then horizontal rendering pass is applied. This value is set in constructor. Note that in order to get full expand effect then two ExpandPostProcess must be used - one with horizontal and one with vertical rendering pass.
Public propertyOffsets Gets or sets a Vector4 that specifies RGBA values that are added to each rendered pixel. Default value is (0, 0, 0, 0)
Top
See Also