• Slang Standard Library Reference
    • Interfaces
    • Types
      • Buffer types
      • Math types
      • Miscelaneous types
      • Ray-tracing
        • BuiltInTriangleIntersectionAttributes
        • CANDIDATE_TYPE
        • COMMITTED_STATUS
        • HitObject
          • GetAttributes
          • GetCurrentTime
          • GetGeometryIndex
          • GetHitKind
          • GetInstanceID
          • GetInstanceIndex
          • GetObjectRayDirection
          • GetObjectRayOrigin
          • GetObjectToWorld
          • GetPrimitiveIndex
          • GetRayDesc
          • GetShaderRecordBufferHandle
          • GetShaderTableIndex
          • GetWorldToObject
          • Invoke
          • IsHit
          • IsMiss
          • IsNop
          • LoadLocalRootTableConstant
          • MakeHit
          • MakeMiss
          • MakeMotionHit
          • MakeMotionMiss
          • MakeNop
          • TraceMotionRay
          • TraceRay
          • init
        • RAY_FLAG
        • RayDesc
        • RayQuery
        • RaytracingAccelerationStructure
      • Sampler types
      • Scalar types
      • Stage IO types
      • Texture types
      • Array
      • Atomic
      • AtomicAdd
      • ConstantBuffer
      • CoopMat
      • CoopMatMatrixLayout
      • CoopMatMatrixOperands
      • CoopMatMatrixUse
      • CoopMatScope
      • CoopVec
      • CoopVecComponentType
      • CoopVecMatrixLayout
      • DescriptorAccess
      • DescriptorHandle
      • DescriptorKind
      • DiffTensorView
      • DifferentialPair
      • DifferentialPtrPair
      • DispatchNodeInputRecord
      • NodePayloadPtr
      • NullDifferential
      • Optional
      • ParameterBlock
      • Ptr
      • String
      • TensorView
      • TorchTensor
      • Tuple
      • _AttributeTargets
      • int8_t4_packed
      • uint8_t4_packed
    • Attributes
    • Global Declarations

HitObject.init

Description

Signature

HitObject.init();