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

Public Methods

void init (const uint32 n_vpls, MeshView h_mesh, MeshView d_mesh, const MipMapView *h_textures, const MipMapView *d_textures, const uint32 instance=0)
 
void init (const uint32 n_vpls, RenderingContext &renderer, const uint32 instance=0)
 
MeshLight view (const bool use_vpls) const
 
uint32 get_bvh_nodes_count () const
 
uint32 get_bvh_clusters_count () const
 
const cugar::Bvh_node_3dget_bvh_nodes () const
 
const uint32 * get_bvh_parents () const
 
const uint2 * get_bvh_ranges () const
 
const uint32 * get_bvh_clusters () const
 
const uint32 * get_bvh_cluster_offsets () const
 

Public Members

cugar::vector< cugar::device_tag, float > mesh_cdf
 
cugar::vector< cugar::device_tag, float > mesh_inv_area
 
MeshView mesh
 
const MipMapViewtextures
 
cugar::vector< cugar::device_tag, float > vpl_cdf
 
cugar::vector< cugar::device_tag, VPLvpls
 
float normalization_coeff
 
cugar::vector< cugar::device_tag, cugar::Bvh_node_3dbvh_nodes
 
cugar::vector< cugar::device_tag, uint32 > bvh_leaves
 
cugar::vector< cugar::device_tag, uint32 > bvh_parents
 
cugar::vector< cugar::device_tag, uint2 > bvh_ranges
 
cugar::vector< cugar::device_tag, uint32 > bvh_clusters
 
cugar::vector< cugar::device_tag, uint32 > bvh_cluster_offsets
 

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