Package apple.metalfx.protocol
Interface MTLFXSpatialScaler
-
public interface MTLFXSpatialScalerThis is the object that gets created from the descriptor API-Since: 16.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longcolorProcessingMode()@Nullable MTLTexturecolorTexture()These would be all of the "state" needed that is allowed to change on a frame by frame basis.longcolorTextureFormat()Read-only immutable properties of effectlongcolorTextureUsage()Properties return the minimum required MTLTextureUsage bits requiredvoidencodeToCommandBuffer(@NotNull MTLCommandBuffer commandBuffer)Method to encode the effect to a command buffer@Nullable MTLFencefence()Property for synchronization when using untracked resourceslonginputContentHeight()longinputContentWidth()Dynamic resolution propertylonginputHeight()longinputWidth()longoutputHeight()@Nullable MTLTextureoutputTexture()outputTexture is required to have MTLStorageModePrivate for storageModelongoutputTextureFormat()longoutputTextureUsage()longoutputWidth()voidsetColorTexture(@Nullable MTLTexture value)These would be all of the "state" needed that is allowed to change on a frame by frame basis.voidsetFence(@Nullable MTLFence value)Property for synchronization when using untracked resourcesvoidsetInputContentHeight(long value)voidsetInputContentWidth(long value)Dynamic resolution propertyvoidsetOutputTexture(@Nullable MTLTexture value)outputTexture is required to have MTLStorageModePrivate for storageMode
-
-
-
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
-
-