Class SCNProgram

    • Constructor Detail

      • SCNProgram

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

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

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

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

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

        public static 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • 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

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

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

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

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

        public void handleBindingOfBufferNamedFrequencyUsingBlock​(java.lang.String name,
                                                                  long frequency,
                                                                  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.
        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

        public 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.
      • semanticForSymbol

        public java.lang.String semanticForSymbol​(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​(SCNProgramDelegate value)
        [@property] delegate Determines the receiver's delegate
      • setDelegate

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

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

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

        public void setLibrary​(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.
      • setSemanticForSymbolOptions

        public void setSemanticForSymbolOptions​(java.lang.String semantic,
                                                java.lang.String symbol,
                                                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​(java.lang.String value)
        [@property] vertexFunctionName Determines the receiver's vertex function name. The name of the vertex function (for Metal programs).
      • setVertexShader

        public void setVertexShader​(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

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

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