Quake II RTX doxygen  1.0 dev
RayPayload Struct Reference

#include <path_tracer.h>

Public Attributes

vec2 barycentric
 
uint instance_prim
 
float hit_distance
 
uvec2 transparency
 
float max_transparent_distance
 

Detailed Description

Definition at line 131 of file path_tracer.h.

Member Data Documentation

◆ barycentric

vec2 RayPayload::barycentric

Definition at line 132 of file path_tracer.h.

Referenced by get_hit_barycentric().

◆ hit_distance

float RayPayload::hit_distance

Definition at line 134 of file path_tracer.h.

◆ instance_prim

uint RayPayload::instance_prim

Definition at line 133 of file path_tracer.h.

Referenced by found_intersection(), get_primitive(), is_dynamic_instance(), and is_sky().

◆ max_transparent_distance

float RayPayload::max_transparent_distance

Definition at line 136 of file path_tracer.h.

◆ transparency

uvec2 RayPayload::transparency

Definition at line 135 of file path_tracer.h.