Class SCNProgram

    • Constructor Detail

      • SCNProgram

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static SCNProgram allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • 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)
      • program

        public static SCNProgram program()
        program Creates and initialize a program instance.
      • 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()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • 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
      • delegate

        @Nullable
        public @Nullable SCNProgramDelegate delegate()
        [@property] delegate Determines the receiver's delegate
      • fragmentFunctionName

        @Nullable
        public @Nullable java.lang.String fragmentFunctionName()
        [@property] fragmentFunctionName Determines the receiver's fragment function name. The name of the fragment function (for Metal programs). API-Since: 9.0
      • fragmentShader

        @Nullable
        public @Nullable java.lang.String fragmentShader()
        [@property] fragmentShader Determines the receiver's fragment shader.
      • handleBindingOfBufferNamedFrequencyUsingBlock

        public void handleBindingOfBufferNamedFrequencyUsingBlock​(@NotNull
                                                                  @NotNull java.lang.String name,
                                                                  long frequency,
                                                                  @NotNull
                                                                  @NotNull SCNProgram.Block_handleBindingOfBufferNamedFrequencyUsingBlock block)
        handleBindingOfBufferNamed:frequency:usingBlock: Sets the block to call at render time to bind the buffer of the specified symbol of the receiver's program. This method can only be used with Metal based programs. API-Since: 9.0
        Parameters:
        name - The name of the buffer to bind.
        frequency - The frequency at which the block has to be invoked. Can be per frame, per node or per geometry or material. See SCNBufferBindingBlock above.
        block - The block that binds the buffer.
      • isOpaque

        public boolean isOpaque()
        [@property] opaque Determines the receiver's fragment are opaque or not. Defaults to YES.
      • setOpaque

        public void setOpaque​(boolean value)
        [@property] opaque Determines the receiver's fragment are opaque or not. Defaults to YES.
      • library

        @Nullable
        public @Nullable MTLLibrary library()
        [@property] library Specifies the Metal library to use to locate the function names specified above. If set to nil the default library is used. Defaults to nil. API-Since: 9.0
      • semanticForSymbol

        @Nullable
        public @Nullable java.lang.String semanticForSymbol​(@NotNull
                                                            @NotNull java.lang.String symbol)
        semanticForSymbol: Retrieves the SceneKit semantic associated to a symbol from the program source code.
        Parameters:
        symbol - A symbol from the program source code.
      • setDelegate_unsafe

        public void setDelegate_unsafe​(@Nullable
                                       @Nullable SCNProgramDelegate value)
        [@property] delegate Determines the receiver's delegate
      • setDelegate

        public void setDelegate​(@Nullable
                                @Nullable SCNProgramDelegate value)
        [@property] delegate Determines the receiver's delegate
      • setFragmentFunctionName

        public void setFragmentFunctionName​(@Nullable
                                            @Nullable java.lang.String value)
        [@property] fragmentFunctionName Determines the receiver's fragment function name. The name of the fragment function (for Metal programs). API-Since: 9.0
      • setFragmentShader

        public void setFragmentShader​(@Nullable
                                      @Nullable java.lang.String value)
        [@property] fragmentShader Determines the receiver's fragment shader.
      • setLibrary

        public void setLibrary​(@Nullable
                               @Nullable MTLLibrary value)
        [@property] library Specifies the Metal library to use to locate the function names specified above. If set to nil the default library is used. Defaults to nil. API-Since: 9.0
      • setSemanticForSymbolOptions

        public void setSemanticForSymbolOptions​(@Nullable
                                                @Nullable java.lang.String semantic,
                                                @NotNull
                                                @NotNull java.lang.String symbol,
                                                @Nullable
                                                @Nullable NSDictionary<java.lang.String,​?> options)
        setSemantic:forSymbol:options: Associates a SceneKit semantic to a symbol. Associates semantics handled by the SceneKit runtime to a symbol from the program. Supported semantics are listed in SCNGeometry.h and SCNNode.h.
        Parameters:
        semantic - The SceneKit semantic to associate to the specified symbol.
        symbol - A symbol from the program source code.
        options - An optional dictionary. See the 'Semantic options' above.
      • setVertexFunctionName

        public void setVertexFunctionName​(@Nullable
                                          @Nullable java.lang.String value)
        [@property] vertexFunctionName Determines the receiver's vertex function name. The name of the vertex function (for Metal programs). API-Since: 9.0
      • setVertexShader

        public void setVertexShader​(@Nullable
                                    @Nullable java.lang.String value)
        [@property] vertexShader Determines the receiver's vertex shader.
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
      • vertexFunctionName

        @Nullable
        public @Nullable java.lang.String vertexFunctionName()
        [@property] vertexFunctionName Determines the receiver's vertex function name. The name of the vertex function (for Metal programs). API-Since: 9.0
      • vertexShader

        @Nullable
        public @Nullable java.lang.String vertexShader()
        [@property] vertexShader Determines the receiver's vertex shader.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.