Fermat
Public Methods | Public Members | List of all members
PixelInfo Union Reference

Detailed description

Store packed pixel information, including:

#include <pathtracer_core.h>

Public Methods

FERMAT_HOST_DEVICE PixelInfo (const uint32 _packed)
 
FERMAT_HOST_DEVICE PixelInfo (const uint32 _pixel, const uint32 _comp, const uint32 _diffuse=0)
 
FERMAT_HOST_DEVICE operator uint32 () const
 
FERMAT_HOST_DEVICE PixelInfo (const uint32 _packed)
 
FERMAT_HOST_DEVICE PixelInfo (const uint32 _pixel, const uint32 _channel)
 

Public Members

uint32 packed
 
struct {
   uint32   pixel: 27
 
   uint32   comp: 4
 
   uint32   diffuse: 1
 
}; 
 
struct {
   uint32   pixel: 28
 
   uint32   channel: 4
 
}; 
 

The documentation for this union was generated from the following files: