Class MPSSVGF

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSSVGF
extends MPSKernel
implements NSSecureCoding
Since:
Available in iOS 13.0 and later.
  • Constructor Details

  • Method Details

    • getDepthWeight

      public float getDepthWeight()
    • setDepthWeight

      public void setDepthWeight​(float v)
    • getNormalWeight

      public float getNormalWeight()
    • setNormalWeight

      public void setNormalWeight​(float v)
    • getLuminanceWeight

      public float getLuminanceWeight()
    • setLuminanceWeight

      public void setLuminanceWeight​(float v)
    • getTemporalWeighting

      public MPSTemporalWeighting getTemporalWeighting()
    • setTemporalWeighting

      public void setTemporalWeighting​(MPSTemporalWeighting v)
    • getTemporalReprojectionBlendFactor

      public float getTemporalReprojectionBlendFactor()
    • setTemporalReprojectionBlendFactor

      public void setTemporalReprojectionBlendFactor​(float v)
    • getReprojectionThreshold

      public float getReprojectionThreshold()
    • setReprojectionThreshold

      public void setReprojectionThreshold​(float v)
    • getMinimumFramesForVarianceEstimation

      public long getMinimumFramesForVarianceEstimation()
    • setMinimumFramesForVarianceEstimation

      public void setMinimumFramesForVarianceEstimation​(long v)
    • getVarianceEstimationRadius

      public long getVarianceEstimationRadius()
    • setVarianceEstimationRadius

      public void setVarianceEstimationRadius​(long v)
    • getVarianceEstimationSigma

      public float getVarianceEstimationSigma()
    • setVarianceEstimationSigma

      public void setVarianceEstimationSigma​(float v)
    • getVariancePrefilterSigma

      public float getVariancePrefilterSigma()
    • setVariancePrefilterSigma

      public void setVariancePrefilterSigma​(float v)
    • getVariancePrefilterRadius

      public long getVariancePrefilterRadius()
    • setVariancePrefilterRadius

      public void setVariancePrefilterRadius​(long v)
    • getBilateralFilterSigma

      public float getBilateralFilterSigma()
    • setBilateralFilterSigma

      public void setBilateralFilterSigma​(float v)
    • getBilateralFilterRadius

      public long getBilateralFilterRadius()
    • setBilateralFilterRadius

      public void setBilateralFilterRadius​(long v)
    • getChannelCount

      public long getChannelCount()
    • setChannelCount

      public void setChannelCount​(long v)
    • getChannelCount2

      public long getChannelCount2()
    • setChannelCount2

      public void setChannelCount2​(long v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(MTLDevice device)
      Overrides:
      init in class MPSKernel
    • init

      protected long init​(NSCoder decoder, MTLDevice device)
      Overrides:
      init in class MPSKernel
    • copy

      public MPSSVGF copy​(NSZone zone, MTLDevice device)
      Overrides:
      copy in class MPSKernel
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
      Overrides:
      encode in class MPSKernel
    • encodeReprojection

      public void encodeReprojection​(MTLCommandBuffer commandBuffer, MTLTexture sourceTexture, MTLTexture previousTexture, MTLTexture destinationTexture, MTLTexture previousLuminanceMomentsTexture, MTLTexture destinationLuminanceMomentsTexture, MTLTexture previousFrameCountTexture, MTLTexture destinationFrameCountTexture, MTLTexture motionVectorTexture, MTLTexture depthNormalTexture, MTLTexture previousDepthNormalTexture)
    • encodeReprojectionToCommandBuffer$sourceTexture$previousTexture$destinationTexture$previousLuminanceMomentsTexture$destinationLuminanceMomentsTexture$sourceTexture2$previousTexture2$destinationTexture2$previousLuminanceMomentsTexture2$destinationLuminanceMomentsTexture2$previousFrameCountTexture$destinationFrameCountTexture$motionVectorTexture$depthNormalTexture$previousDepthNormalTexture$

      public void encodeReprojectionToCommandBuffer$sourceTexture$previousTexture$destinationTexture$previousLuminanceMomentsTexture$destinationLuminanceMomentsTexture$sourceTexture2$previousTexture2$destinationTexture2$previousLuminanceMomentsTexture2$destinationLuminanceMomentsTexture2$previousFrameCountTexture$destinationFrameCountTexture$motionVectorTexture$depthNormalTexture$previousDepthNormalTexture$​(MTLCommandBuffer commandBuffer, MTLTexture sourceTexture, MTLTexture previousTexture, MTLTexture destinationTexture, MTLTexture previousLuminanceMomentsTexture, MTLTexture destinationLuminanceMomentsTexture, MTLTexture sourceTexture2, MTLTexture previousTexture2, MTLTexture destinationTexture2, MTLTexture previousLuminanceMomentsTexture2, MTLTexture destinationLuminanceMomentsTexture2, MTLTexture previousFrameCountTexture, MTLTexture destinationFrameCountTexture, MTLTexture motionVectorTexture, MTLTexture depthNormalTexture, MTLTexture previousDepthNormalTexture)
    • encodeVarianceEstimation

      public void encodeVarianceEstimation​(MTLCommandBuffer commandBuffer, MTLTexture sourceTexture, MTLTexture luminanceMomentsTexture, MTLTexture destinationTexture, MTLTexture frameCountTexture, MTLTexture depthNormalTexture)
    • encodeVarianceEstimation

      public void encodeVarianceEstimation​(MTLCommandBuffer commandBuffer, MTLTexture sourceTexture, MTLTexture luminanceMomentsTexture, MTLTexture destinationTexture, MTLTexture sourceTexture2, MTLTexture luminanceMomentsTexture2, MTLTexture destinationTexture2, MTLTexture frameCountTexture, MTLTexture depthNormalTexture)
    • encodeBilateralFilter

      public void encodeBilateralFilter​(MTLCommandBuffer commandBuffer, long stepDistance, MTLTexture sourceTexture, MTLTexture destinationTexture, MTLTexture depthNormalTexture)
    • encodeBilateralFilter

      public void encodeBilateralFilter​(MTLCommandBuffer commandBuffer, long stepDistance, MTLTexture sourceTexture, MTLTexture destinationTexture, MTLTexture sourceTexture2, MTLTexture destinationTexture2, MTLTexture depthNormalTexture)