Package apple.metal.protocol
Interface MTLIntersectionFunctionTable
-
- All Superinterfaces:
MTLResource
public interface MTLIntersectionFunctionTable extends MTLResource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetBufferOffsetAtIndex(MTLBuffer buffer, long offset, long index)voidsetBuffersOffsetsWithRange(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffers, org.moe.natj.general.ptr.ConstNUIntPtr offsets, NSRange range)voidsetFunctionAtIndex(MTLFunctionHandle function, long index)voidsetFunctionsWithRange(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> functions, NSRange range)voidsetOpaqueTriangleIntersectionFunctionWithSignatureAtIndex(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.voidsetOpaqueTriangleIntersectionFunctionWithSignatureWithRange(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.voidsetVisibleFunctionTableAtBufferIndex(MTLVisibleFunctionTable functionTable, long bufferIndex)voidsetVisibleFunctionTablesWithBufferRange(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> functionTables, NSRange bufferRange)-
Methods inherited from interface apple.metal.protocol.MTLResource
allocatedSize, cpuCacheMode, device, hazardTrackingMode, heap, heapOffset, isAliasable, label, makeAliasable, resourceOptions, setLabel, setPurgeableState, storageMode
-
-
-
-
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)
-
-