Interface MTLIntersectionFunctionTable

    • Method Detail

      • setBufferOffsetAtIndex

        void setBufferOffsetAtIndex​(MTLBuffer buffer,
                                    long offset,
                                    long index)
      • setBuffersOffsetsWithRange

        void setBuffersOffsetsWithRange​(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffers,
                                        org.moe.natj.general.ptr.ConstNUIntPtr offsets,
                                        NSRange range)
      • setFunctionAtIndex

        void setFunctionAtIndex​(MTLFunctionHandle function,
                                long index)
      • setFunctionsWithRange

        void setFunctionsWithRange​(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> functions,
                                   NSRange range)
      • setOpaqueTriangleIntersectionFunctionWithSignatureAtIndex

        void setOpaqueTriangleIntersectionFunctionWithSignatureAtIndex​(long signature,
                                                                       long index)
        Initialize the function at the given index with a triangle intersection function with the given signature which always accepts ray/triangle intersections. If this method is not called and an intersection function is not otherwise set at the given index, ray/triangle intersections will be ignored if a call to the function at the given index would be required. Ray/triangle intersections are always accepted if an intersection function table is not provided.
      • setOpaqueTriangleIntersectionFunctionWithSignatureWithRange

        void setOpaqueTriangleIntersectionFunctionWithSignatureWithRange​(long signature,
                                                                         NSRange range)
        Initialize the function at the given range with a triangle intersection function with the given signature which always accepts ray/triangle intersections. If this method is not called and an intersection function is not otherwise set at an index in the given range, ray/triangle intersections will be ignored if a call to the function at that index would be required. Ray/triangle intersections are always accepted if an intersection function table is not provided.
      • setVisibleFunctionTableAtBufferIndex

        void setVisibleFunctionTableAtBufferIndex​(MTLVisibleFunctionTable functionTable,
                                                  long bufferIndex)
      • setVisibleFunctionTablesWithBufferRange

        void setVisibleFunctionTablesWithBufferRange​(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> functionTables,
                                                     NSRange bufferRange)