Click or drag to resize
AB4D logo

DownSampleWithFilerPostProcess Class

DownSampleWithFilerPostProcess is a post process that can down-sample a bigger texture to a smaller texture. It is using a special slightly rotated pattern (filter) to sample the pixels on a bigger texture in such a way that colors from many pixels are read. This produces better results that simple linear filter that is used in DownSamplePostProcess.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDXResourceBase
    Ab3d.DirectXSharedDXResource
      Ab3d.DirectXSharedDXDeviceResource
        Ab3d.DirectX.PostProcessingPostProcessBase
          Ab3d.DirectX.PostProcessingStandardPostProcess
            Ab3d.DirectX.PostProcessingSimplePixelShaderPostProcess
              Ab3d.DirectX.PostProcessingSeparableKernelPostProcess
                Ab3d.DirectX.PostProcessingDownSampleWithFilerPostProcess

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

The DownSampleWithFilerPostProcess type exposes the following members.

Constructors
 NameDescription
Public methodDownSampleWithFilerPostProcess Constructor
Top
Properties
 NameDescription
Public propertyCenterPixelWeight Gets or sets weight from 0 to 1 of the center pixel. Bigger values means that center pixel will get more weight in the final pixel. Default value is 0.28.
Public propertyFilterType Type of filter to use for down-sampling.
Public propertyTexelOffsetsScale Multiplies the texel offset by this factor. It is used to down-sample from bigger textures so that offsets reach bigger area.
Top
See Also