Fermat
Public Methods | Public Members | List of all members
RayWavefrontQueue Struct Reference

Detailed description

a ray queue is a regular queue where the header of the payload is augmented with a Ray and a Hit data structure

#include <wavefront_queues.h>

Inheritance diagram for RayWavefrontQueue:
WavefrontQueue

Public Methods

FERMAT_HOST_DEVICE void alloc (uint8 *_ptr, uint32 *_size)
 
FERMAT_HOST_DEVICE Rayrays () const
 
FERMAT_HOST_DEVICE Hithits () const
 
- Public Methods inherited from WavefrontQueue
FERMAT_HOST_DEVICE WavefrontQueue ()
 
FERMAT_HOST_DEVICE void setup (const QueueDescriptor &_desc, const uint32 _capacity)
 
FERMAT_HOST_DEVICE uint32 byte_size () const
 
FERMAT_HOST_DEVICE void alloc (uint8 *_ptr, uint32 *_size)
 
template<uint32 m, typename T >
FERMAT_HOST_DEVICE T * member_base () const
 
template<uint32 m, typename T >
FERMAT_HOST_DEVICE const T & member (const uint32 slot) const
 
template<uint32 m, typename T >
FERMAT_HOST_DEVICE T & member (const uint32 slot)
 
FERMAT_DEVICE uint32 append ()
 
FERMAT_HOST_DEVICE void set_size (const uint32 _size)
 

Public Members

uint8 * ray_ptr
 
- Public Members inherited from WavefrontQueue
uint8 * ptr
 
uint32 * size
 
uint32 capacity
 
uint32 offsets [16]
 

Additional Inherited Members

- Public Types inherited from WavefrontQueue
typedef uint32 Entry
 

Member Function Documentation

◆ alloc()

FERMAT_HOST_DEVICE void RayWavefrontQueue::alloc ( uint8 *  _ptr,
uint32 *  _size 
)
inline

setup the baking storage


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