Click or drag to resize
AB4D logo

SoberEdgeDetectionPostProcess Class

SoberEdgeDetectionPostProcess is a post process that can be used to find the edges of the object.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDXResourceBase
    Ab3d.DirectXSharedDXResource
      Ab3d.DirectXSharedDXDeviceResource
        Ab3d.DirectX.PostProcessingPostProcessBase
          Ab3d.DirectX.PostProcessingStandardPostProcess
            Ab3d.DirectX.PostProcessingSimplePixelShaderPostProcess
              Ab3d.DirectX.PostProcessingSoberEdgeDetectionPostProcess

Namespace: Ab3d.DirectX.PostProcessing
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public class SoberEdgeDetectionPostProcess : SimplePixelShaderPostProcess

The SoberEdgeDetectionPostProcess type exposes the following members.

Constructors
 NameDescription
Public methodSoberEdgeDetectionPostProcess Initializes a new instance of the SoberEdgeDetectionPostProcess class.
Top
Properties
 NameDescription
Public propertyEdgeThreshold Gets or sets a float value that specifies the edge threshold that is needed to decide how big the color difference need to be to render an edge. Smaller values produce more edges, bigger values less edges. Default value is 0.05f.
Public propertyMultiplyWithCurrentColor Gets or sets a Boolean value that specifies if the edge color defined by this post-process is multiplied with the existing pixel color - this way the edges are added to the existing rendering. When false then only the edges are preserved and the original rendering is not visible any more. Default value is true.
Public propertyTextureSize Gets or sets the size of the texture.
Top
Methods
 NameDescription
Public methodRender Render renders the post process with using the sourceShaderResourceView as the source texture. It rendered the output to the CurrentRenderTargetView defined in the renderingContext.
(Overrides SimplePixelShaderPostProcessRender(RenderingContext, ShaderResourceView))
Top
See Also