Interface MTLFXSpatialScaler


  • public interface MTLFXSpatialScaler
    This is the object that gets created from the descriptor API-Since: 16.0
    • Method Detail

      • colorProcessingMode

        long colorProcessingMode()
      • colorTexture

        @Nullable
        @Nullable MTLTexture colorTexture()
        These would be all of the "state" needed that is allowed to change on a frame by frame basis. We don't care about the textures assigned except that they must match the required MTLTextureUsage flags.
      • colorTextureFormat

        long colorTextureFormat()
        Read-only immutable properties of effect
      • colorTextureUsage

        long colorTextureUsage()
        Properties return the minimum required MTLTextureUsage bits required
      • encodeToCommandBuffer

        void encodeToCommandBuffer​(@NotNull
                                   @NotNull MTLCommandBuffer commandBuffer)
        Method to encode the effect to a command buffer
      • fence

        @Nullable
        @Nullable MTLFence fence()
        Property for synchronization when using untracked resources
      • inputContentHeight

        long inputContentHeight()
      • inputContentWidth

        long inputContentWidth()
        Dynamic resolution property
      • inputHeight

        long inputHeight()
      • inputWidth

        long inputWidth()
      • outputHeight

        long outputHeight()
      • outputTexture

        @Nullable
        @Nullable MTLTexture outputTexture()
        outputTexture is required to have MTLStorageModePrivate for storageMode
      • outputTextureFormat

        long outputTextureFormat()
      • outputTextureUsage

        long outputTextureUsage()
      • outputWidth

        long outputWidth()
      • setColorTexture

        void setColorTexture​(@Nullable
                             @Nullable MTLTexture value)
        These would be all of the "state" needed that is allowed to change on a frame by frame basis. We don't care about the textures assigned except that they must match the required MTLTextureUsage flags.
      • setFence

        void setFence​(@Nullable
                      @Nullable MTLFence value)
        Property for synchronization when using untracked resources
      • setInputContentHeight

        void setInputContentHeight​(long value)
      • setInputContentWidth

        void setInputContentWidth​(long value)
        Dynamic resolution property
      • setOutputTexture

        void setOutputTexture​(@Nullable
                              @Nullable MTLTexture value)
        outputTexture is required to have MTLStorageModePrivate for storageMode