Fermat
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
Public Methods | Public Members | List of all members
ShadowPayload Struct Reference

Detailed description

Shadow payload structure currently used by Fermat

#include <optix_payload.h>

Public Methods

FERMAT_HOST_DEVICE FERMAT_FORCEINLINE ShadowPayload (const uint32 _mask, const bool _hit)
 
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE uint32 mask () const
 
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE void set_mask (const uint8 _mask)
 
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE void set_hit (const bool _hit)
 
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE operator bool () const
 

Public Members

uint2 packed
 

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