Package apple.metal

Class MTLRenderPipelineDescriptor

    • Constructor Detail

      • MTLRenderPipelineDescriptor

        protected MTLRenderPipelineDescriptor​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • depthAttachmentPixelFormat

        public long depthAttachmentPixelFormat()
      • fragmentFunction

        @Nullable
        public @Nullable MTLFunction fragmentFunction()
      • isAlphaToCoverageEnabled

        public boolean isAlphaToCoverageEnabled()
      • setAlphaToCoverageEnabled

        public void setAlphaToCoverageEnabled​(boolean value)
      • isAlphaToOneEnabled

        public boolean isAlphaToOneEnabled()
      • setAlphaToOneEnabled

        public void setAlphaToOneEnabled​(boolean value)
      • isRasterizationEnabled

        public boolean isRasterizationEnabled()
      • setRasterizationEnabled

        public void setRasterizationEnabled​(boolean value)
      • isTessellationFactorScaleEnabled

        public boolean isTessellationFactorScaleEnabled()
        API-Since: 10.0
      • setTessellationFactorScaleEnabled

        public void setTessellationFactorScaleEnabled​(boolean value)
        API-Since: 10.0
      • label

        @Nullable
        public @Nullable java.lang.String label()
      • maxTessellationFactor

        public long maxTessellationFactor()
        API-Since: 10.0
      • reset

        public void reset()
        reset Restore all pipeline descriptor properties to their default values.
      • sampleCount

        @Deprecated
        public long sampleCount()
        Deprecated.
        Rasterization and visibility state API-Since: 8.0 Deprecated-Since: 16.0
      • setDepthAttachmentPixelFormat

        public void setDepthAttachmentPixelFormat​(long value)
      • setFragmentFunction

        public void setFragmentFunction​(@Nullable
                                        @Nullable MTLFunction value)
      • setLabel

        public void setLabel​(@Nullable
                             @Nullable java.lang.String value)
      • setMaxTessellationFactor

        public void setMaxTessellationFactor​(long value)
        API-Since: 10.0
      • setSampleCount

        @Deprecated
        public void setSampleCount​(long value)
        Deprecated.
        Rasterization and visibility state API-Since: 8.0 Deprecated-Since: 16.0
      • setStencilAttachmentPixelFormat

        public void setStencilAttachmentPixelFormat​(long value)
      • setTessellationControlPointIndexType

        public void setTessellationControlPointIndexType​(long value)
        API-Since: 10.0
      • setTessellationFactorFormat

        public void setTessellationFactorFormat​(long value)
        API-Since: 10.0
      • setTessellationFactorStepFunction

        public void setTessellationFactorStepFunction​(long value)
        API-Since: 10.0
      • setTessellationOutputWindingOrder

        public void setTessellationOutputWindingOrder​(long value)
        API-Since: 10.0
      • setTessellationPartitionMode

        public void setTessellationPartitionMode​(long value)
        API-Since: 10.0
      • setVertexDescriptor

        public void setVertexDescriptor​(@Nullable
                                        @Nullable MTLVertexDescriptor value)
      • setVertexFunction

        public void setVertexFunction​(@Nullable
                                      @Nullable MTLFunction value)
      • stencilAttachmentPixelFormat

        public long stencilAttachmentPixelFormat()
      • tessellationControlPointIndexType

        public long tessellationControlPointIndexType()
        API-Since: 10.0
      • tessellationFactorFormat

        public long tessellationFactorFormat()
        API-Since: 10.0
      • tessellationFactorStepFunction

        public long tessellationFactorStepFunction()
        API-Since: 10.0
      • tessellationOutputWindingOrder

        public long tessellationOutputWindingOrder()
        API-Since: 10.0
      • tessellationPartitionMode

        public long tessellationPartitionMode()
        API-Since: 10.0
      • vertexFunction

        @Nullable
        public @Nullable MTLFunction vertexFunction()
      • rasterSampleCount

        public long rasterSampleCount()
      • setRasterSampleCount

        public void setRasterSampleCount​(long value)
      • inputPrimitiveTopology

        public long inputPrimitiveTopology()
        API-Since: 12.0
      • maxVertexAmplificationCount

        public long maxVertexAmplificationCount()
        API-Since: 13.0
      • setInputPrimitiveTopology

        public void setInputPrimitiveTopology​(long value)
        API-Since: 12.0
      • setMaxVertexAmplificationCount

        public void setMaxVertexAmplificationCount​(long value)
        API-Since: 13.0
      • setSupportIndirectCommandBuffers

        public void setSupportIndirectCommandBuffers​(boolean value)
        API-Since: 12.0
      • supportIndirectCommandBuffers

        public boolean supportIndirectCommandBuffers()
        API-Since: 12.0
      • binaryArchives

        @Nullable
        public @Nullable NSArray<?> binaryArchives()
        [@property] binaryArchives The set of MTLBinaryArchive to search for compiled code when creating the pipeline state. Accelerate pipeline state creation by providing archives of compiled code such that no compilation needs to happen on the fast path.
        See Also:
        API-Since: 14.0
      • setBinaryArchives

        public void setBinaryArchives​(@Nullable
                                      @Nullable NSArray<?> value)
        [@property] binaryArchives The set of MTLBinaryArchive to search for compiled code when creating the pipeline state. Accelerate pipeline state creation by providing archives of compiled code such that no compilation needs to happen on the fast path.
        See Also:
        API-Since: 14.0
      • fragmentLinkedFunctions

        public MTLLinkedFunctions fragmentLinkedFunctions()
        [@property] fragmentLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the fragment function.
        See Also:
        API-Since: 15.0
      • fragmentPreloadedLibraries

        @NotNull
        public @NotNull NSArray<?> fragmentPreloadedLibraries()
        [@property] fragmentPreloadedLibraries The set of MTLDynamicLibrary to use to resolve external symbols for the fragmentFunction before considering symbols from dependent MTLDynamicLibrary. Typical workflows use the libraries property of MTLCompileOptions to record dependent libraries at compile time without having to use fragmentPreloadedLibraries. This property can be used to override symbols from dependent libraries for experimentation or evaluating alternative implementations. It can also be used to provide dynamic libraries that are dynamically created (for example, from source) that have no stable installName that can be used to automatically load from the file system.
        See Also:
        API-Since: 15.0
      • maxFragmentCallStackDepth

        public long maxFragmentCallStackDepth()
        [@property] maxFragmentCallStackDepth The maximum depth of the call stack in stack frames from the shader. Defaults to 1 additional stack frame. API-Since: 15.0
      • maxVertexCallStackDepth

        public long maxVertexCallStackDepth()
        [@property] maxVertexCallStackDepth The maximum depth of the call stack in stack frames from the shader. Defaults to 1 additional stack frame. API-Since: 15.0
      • setFragmentLinkedFunctions

        public void setFragmentLinkedFunctions​(MTLLinkedFunctions value)
        [@property] fragmentLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the fragment function.
        See Also:
        API-Since: 15.0
      • setFragmentPreloadedLibraries

        public void setFragmentPreloadedLibraries​(@NotNull
                                                  @NotNull NSArray<?> value)
        [@property] fragmentPreloadedLibraries The set of MTLDynamicLibrary to use to resolve external symbols for the fragmentFunction before considering symbols from dependent MTLDynamicLibrary. Typical workflows use the libraries property of MTLCompileOptions to record dependent libraries at compile time without having to use fragmentPreloadedLibraries. This property can be used to override symbols from dependent libraries for experimentation or evaluating alternative implementations. It can also be used to provide dynamic libraries that are dynamically created (for example, from source) that have no stable installName that can be used to automatically load from the file system.
        See Also:
        API-Since: 15.0
      • setMaxFragmentCallStackDepth

        public void setMaxFragmentCallStackDepth​(long value)
        [@property] maxFragmentCallStackDepth The maximum depth of the call stack in stack frames from the shader. Defaults to 1 additional stack frame. API-Since: 15.0
      • setMaxVertexCallStackDepth

        public void setMaxVertexCallStackDepth​(long value)
        [@property] maxVertexCallStackDepth The maximum depth of the call stack in stack frames from the shader. Defaults to 1 additional stack frame. API-Since: 15.0
      • setSupportAddingFragmentBinaryFunctions

        public void setSupportAddingFragmentBinaryFunctions​(boolean value)
        [@property] supportFragmentAddingBinaryFunctions This flag makes this pipeline support creating a new pipeline by adding binary functions. API-Since: 15.0
      • setSupportAddingVertexBinaryFunctions

        public void setSupportAddingVertexBinaryFunctions​(boolean value)
        [@property] supportAddingVertexBinaryFunctions This flag makes this pipeline support creating a new pipeline by adding binary functions. API-Since: 15.0
      • setVertexLinkedFunctions

        public void setVertexLinkedFunctions​(MTLLinkedFunctions value)
        [@property] vertexLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the vertex function.
        See Also:
        API-Since: 15.0
      • setVertexPreloadedLibraries

        public void setVertexPreloadedLibraries​(@NotNull
                                                @NotNull NSArray<?> value)
        [@property] vertexPreloadedLibraries The set of MTLDynamicLibrary to use to resolve external symbols for the vertexFunction before considering symbols from dependent MTLDynamicLibrary. Typical workflows use the libraries property of MTLCompileOptions to record dependent libraries at compile time without having to use vertexPreloadedLibraries. This property can be used to override symbols from dependent libraries for experimentation or evaluating alternative implementations. It can also be used to provide dynamic libraries that are dynamically created (for example, from source) that have no stable installName that can be used to automatically load from the file system.
        See Also:
        API-Since: 15.0
      • supportAddingFragmentBinaryFunctions

        public boolean supportAddingFragmentBinaryFunctions()
        [@property] supportFragmentAddingBinaryFunctions This flag makes this pipeline support creating a new pipeline by adding binary functions. API-Since: 15.0
      • supportAddingVertexBinaryFunctions

        public boolean supportAddingVertexBinaryFunctions()
        [@property] supportAddingVertexBinaryFunctions This flag makes this pipeline support creating a new pipeline by adding binary functions. API-Since: 15.0
      • vertexLinkedFunctions

        public MTLLinkedFunctions vertexLinkedFunctions()
        [@property] vertexLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the vertex function.
        See Also:
        API-Since: 15.0
      • vertexPreloadedLibraries

        @NotNull
        public @NotNull NSArray<?> vertexPreloadedLibraries()
        [@property] vertexPreloadedLibraries The set of MTLDynamicLibrary to use to resolve external symbols for the vertexFunction before considering symbols from dependent MTLDynamicLibrary. Typical workflows use the libraries property of MTLCompileOptions to record dependent libraries at compile time without having to use vertexPreloadedLibraries. This property can be used to override symbols from dependent libraries for experimentation or evaluating alternative implementations. It can also be used to provide dynamic libraries that are dynamically created (for example, from source) that have no stable installName that can be used to automatically load from the file system.
        See Also:
        API-Since: 15.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.