Lagrange
Loading...
Searching...
No Matches
RayPacket16 Struct Reference

16-ray SIMD packet for RayCaster::occluded16. push widens to float on entry. More...

#include <occluded_sampler_common.h>

Public Member Functions

template<typename Origin, typename Direction>
void push (const Origin &origin, const Direction &direction, float tmin=1e-6f)
 
bool full () const
 
bool empty () const
 
void clear ()
 
uint32_t cast (const RayCaster &caster) const
 
uint32_t occupied_mask () const
 Low count bits set — masks off undefined slots in a partial packet's cast mask.
 

Public Attributes

RayCaster::Point16f origins
 
RayCaster::Direction16f directions
 
RayCaster::Float16 tmins
 
size_t count = 0
 

Static Public Attributes

static constexpr size_t capacity = 16
 

Detailed Description

16-ray SIMD packet for RayCaster::occluded16. push widens to float on entry.


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