Blender V5.0
MetalRTIntersectionLocalPayload Struct Reference

#include <bvh.h>

Public Attributes

int self_prim
uint lcg_state
uint hit_prim [LOCAL_MAX_HITS]
float hit_t [LOCAL_MAX_HITS]
float hit_u [LOCAL_MAX_HITS]
float hit_v [LOCAL_MAX_HITS]
uint max_hits: 3
uint num_hits: 3
uint has_lcg_state: 1

Detailed Description

Definition at line 33 of file kernel/device/metal/bvh.h.

Member Data Documentation

◆ has_lcg_state

uint MetalRTIntersectionLocalPayload::has_lcg_state

Definition at line 45 of file kernel/device/metal/bvh.h.

◆ hit_prim

uint MetalRTIntersectionLocalPayload::hit_prim[LOCAL_MAX_HITS]

Definition at line 39 of file kernel/device/metal/bvh.h.

◆ hit_t

float MetalRTIntersectionLocalPayload::hit_t[LOCAL_MAX_HITS]

Definition at line 40 of file kernel/device/metal/bvh.h.

◆ hit_u

float MetalRTIntersectionLocalPayload::hit_u[LOCAL_MAX_HITS]

Definition at line 41 of file kernel/device/metal/bvh.h.

◆ hit_v

float MetalRTIntersectionLocalPayload::hit_v[LOCAL_MAX_HITS]

Definition at line 42 of file kernel/device/metal/bvh.h.

◆ lcg_state

uint MetalRTIntersectionLocalPayload::lcg_state

Definition at line 38 of file kernel/device/metal/bvh.h.

◆ max_hits

uint MetalRTIntersectionLocalPayload::max_hits

Definition at line 43 of file kernel/device/metal/bvh.h.

◆ num_hits

uint MetalRTIntersectionLocalPayload::num_hits

Definition at line 44 of file kernel/device/metal/bvh.h.

◆ self_prim

int MetalRTIntersectionLocalPayload::self_prim

Definition at line 34 of file kernel/device/metal/bvh.h.


The documentation for this struct was generated from the following file: